Comment 4 for bug 525441

Revision history for this message
Jose Gómez (adler-dreamcoder) wrote :

Actually, I don't think this bug is fixed at all.

When scanning text documents (at 300 dpi), around 15 pages consumes about 500 to 900 MB of memory. If I continue scanning, eventually the program will run out of memory, and crash, therefore all the work will be lost.

Furthermore, sometimes the crash happens while saving, which is the point when the memory usage peaks, getting an increase of some hundred MBs. So, saving frequently does not eases the problem.

Finally, neither deleting pages, nor clicking on the button "Start a new document" free any memory. That memory is also not reused. The only way of being able to scan more pages, is closing the program and opening a new instance.

Therefore, this is just a huge memory leak.

My workaround for the time being is just to scan documents in batches of 15 pages, saving into different pdf files, closing the program and opening it again, and then merge the different files with pdftk:

    pdftk inputfile1.pdf inputfile2.pdf inputfilen.pdf cat ouput outputfile.pdf