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