Forum How do I...?

Prince too slow

melvinma88
I have 65K HTML files and tried to generate a giant PDF. The prince has been running 2 days now and it is still not done :). Any suggestion on how to tune it? My command line currently is:

prince/lib/prince/bin/prince -o <output pdf name> --input-list=file_list.txt

Thanks.

------------------------------------
after adding verbose and tried again, it is clearly related to image loading. After trying to load 661 images, Prince simply stuck.

mikeday
How much RAM do you have on your system? Are you running 32-bit Prince or 64-bit Prince? On which operating system? What is the total size of these 65K HTML documents? Does it complete if you convert a smaller number, say 1000 or 10K?
mikeday
If any of the images are being downloaded over HTTP, then you can specify --http-timeout=10 on the command-line to avoid waiting too long for slow servers.

Better to avoid HTTP requests though; even in the best case, 1 second per document will require 18 hours to finish 65K documents.