Possible memory leak in scribo :: content_in_doc

Hello there, I was trying Scribo module with multiple pictures, using either cli or viewer version, I admit it generates very good results! However, I'm experiencing a memory leak with a *certain* image. It happens in content_in_doc binary when I run scribo-cli as follows: scribo-cli doc-dia input.png out.xml Strangely enough I found that the command populates out.xml correctly! but it never returns and it keeps on chewing memory VERY fast, like reaching couple GB in few seconds. I tried to disable optional toggles one by one to narrow down the suspect. I found out that the leak doesn't happen if I add the option --disable-find-seps. Please find attached the single image that causes this leak as well as xml output. I'll try to trace it as much as a I can, any clues would be great, though. Best regards, Remon

On 27/10/2013 09:45, Remon Georgy wrote:
Hello there,
Hello,
I was trying Scribo module with multiple pictures, using either cli or viewer version, I admit it generates very good results!
Thanks!
However, I'm experiencing a memory leak with a /certain/ image. It happens in content_in_doc binary when I run scribo-cli as follows:
scribo-cli doc-dia input.png out.xml
Strangely enough I found that the command populates out.xml correctly! but it never returns and it keeps on chewing memory VERY fast, like reaching couple GB in few seconds.
I tried to disable optional toggles one by one to narrow down the suspect. I found out that the leak doesn't happen if I add the option --disable-find-seps.
Please find attached the single image that causes this leak as well as xml output.
I'll try to trace it as much as a I can, any clues would be great, though.
Thank you for your report. I have processed your input image with the latest (not yet released) version of `scribo-cli' from the `master' branch of Olena's Git repository and it worked correctly. I've obtained a different XML output though (see the attached document). I you want to try the development version of Scribo, you can get it from our Git repository, compile it and install it, by following the instructions of this page: https://olena.lrde.epita.fr/Download#Getting_the_source_from_the_deve Or you can wait for the next release of the Olena platform. Thank you for your interest in the Olena project! -- Roland Levillain EPITA Research and Development Laboratory (LRDE) 14-16, rue Voltaire - FR-94276 Le Kremlin-Bicêtre Cedex - France Phone: +33 1 53 14 59 45 - Fax: +33 1 53 14 59 22 - www.lrde.epita.fr
participants (2)
-
Remon Georgy
-
Roland Levillain