View Single Post
Old 08-01-2015, 02:14 PM   #9
harrykar
Junior Member
harrykar began at the beginning.
 
harrykar's Avatar
 
Posts: 4
Karma: 10
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by MelBr View Post
Hi all,

I've noticed that when importing PDFs, sometimes Calibre becomes unresponsive and appears to crash. However, when I check processes, I notice that the problem is actually pdftoppm (which I presume generates cover image from a PDF). It uses tons on RAM/CPU and becomes unstable. After I kill pdftoppm, Calibre (sometimes) remains unresponsive and you have to force quit is as well. So you basically can't import some books because of a pdftoppm bug.



Is there anything that can be done? Can I disable pdftoppm?

Thanks

Using the latest Calibre, Mac version.
+1 here and it's not a hardware problem the culprit is pdftoppm he licks 3GB RAM (of total 4 in my system) + Swap too (= thrashing behaviour) (but not CPU cycles --see attached pics-- )
so when i tried to add some hundreds of books the machine became unresponsively unused; notice that after i closed calibre pdftoppm continue to take 3 GB of RAM + Swap (definitely a thrashing behaviour) and the only way i found to free that RAM Swap memory was to kill that process
I'm on a Ubuntu 10.4 LTS (aka lucid lynx) and i have installed the last workable calibre for that OS release (1.48) ; 2.x release of calibre is not working for me because of the new qt lib used from calibre i guess

After i tried more times and got the same problem I found a "divide et impera" partially(i am sure the problem arises only from someone pdf the target is to find that problematic pdfs ) workaround :
1. divide the whole block of books in smaller (say 4 or more) more "manageable" sub-blocks and put every sub-block in a directory(folder)
2. do Add from calibre for the 1st sub-block and after finisced(hopefully whithout problems in contrary case rake note of the problematic pdf and put it out of the containing folder) close calibre
3. reopen it and repeat from step 1.
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	309
Size:	135.7 KB
ID:	140697   Click image for larger version

Name:	Screenshot-1.png
Views:	237
Size:	98.3 KB
ID:	140698  

Last edited by harrykar; 08-01-2015 at 05:00 PM. Reason: plus
harrykar is offline   Reply With Quote