Gabor Hojtsy wrote:
Hi Thomas and all!
I have tried to make a PDF to see how it looks with XSL FO and FOP. The fo file is perfectly generated. Then when I run FOP, I get several errors. I know that FOP is not mature enough, also used it in smaller projects, so I was not afraid of those errors.
You were right, even if I'll fix them I wouldn't really care (nothing critical).
...But then FOP suddenly stopped with an OutOfMemoryException. I went to the FAQ, and have seen that I need to increase the memory used by the JVM. It's default is 64MB, so I increased it to 200MB. I have monitored the memory usage in KInfoCenter, and have seen that when the JVM hits the limits of the phisical memory, it exits with "[ERROR] 1". It seems the JVM is not trying to use virtual memory at all, and I "only" have 258+128MB SDRAM to work with. Thomas, can you share with us, how were you able to generate the manual in PDF format on your machine?
Hm... That seems to be a problem. As I've written some time ago, fop needs for phpdoc almost 700MB memory (java -Xmx700000000 ... works currently. Note: with fop 0.20.5rc3, earlier versions need more).
That's why I've mailed James to put us on one of the machines with 1GB RAM while he was "moving around things", but I didn't get a feedback on this (I hope he did it).
Before my RAM-upgrade, I simply enlarged the swapfile on Windodws (But this wasn't good to work, it swapped around the whole night, while it now takes just 3-4 minutes).
But even I'm no expert on Linux, I think you don't have no other choice than to a) upgrade RAM, or b) enlarge your swap-partition. (Fact is, that your phys.RAM + swap-space must be at least 700MB (the 700000000bytes + all the running processes ...).
Thomas
Btw, i've just made an actual one for dl at http://www.t0.or.at/~sunny/php/php_manual_en_3.pdf.zip
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php