RE: Java Heap

2010-06-09 Thread Eric Douglas
You can't generate big files, or you need more memory. More memory could be referring to either your physical system memory or your allocated Java memory. This should have norhing to do with your line overflows. Make text smaller or blocks bigger. In my usage, I just put a condition that would

Re: Java Heap

2010-06-09 Thread J.Pietschmann
On 09.06.2010 16:57, Andrey Skrypnik wrote: I'm using FOP 0.95 i when i try to generate a big file i received: SEVERE: Servlet.service() for servlet meritservus threw exception java.lang.OutOfMemoryError: Java heap space See http://xmlgraphics.apache.org/fop/0.95/running.html#memory

Re: Java heap overflow error - unknown reason

2008-08-13 Thread DavidJKelly
We have this environment setting: set FOP_OPTS=-Xmx999m %FOP_OPTS% Then we run the fop command line. To post the fo file I will need to replace the text with gibberish since it is sensitive material. I will attempt to upload it later today. David Kelly Jeremias Maerki-2 wrote: Are

Re: Java heap overflow error - unknown reason

2008-08-13 Thread DavidJKelly
Hmm - I see now that although the environment variable I mentioned earlier had been set, that variable was not placed on the fop command line. I have corrected the problem and it now runs fine. My apologies for the misdirection, and thank you for the hint. Regards, David Kelly Are you

Re: Java heap overflow error - unknown reason

2008-08-13 Thread Luis Ferro
Nevertheless, if you can post the fo with gibberish it would be useful for profiling purposes... (if sensitive, send it directly to the dev team and not to the list). There is always a lack of real world examples! And real world is always giving us surprises. ;) On Wed, Aug 13, 2008 at 1:40

Re: Java heap overflow error - unknown reason

2008-08-12 Thread DavidJKelly
Andreas, Most of the book was in fact in a single page sequence. I attempted the three fixes you suggested, but with no luck. The FO is now in page sequences less than 100 pages each, and all fo:inlines are now fo:wrappers. I have also removed all keep-together and keep-with attributes. At

Re: Java heap overflow error - unknown reason

2008-08-12 Thread Jeremias Maerki
Are you actually giving FOP a little memory to play with? I mean a little more than the 64MB allocated by default? FOP is still a bit memory-intensive, but 100 pages (per page-sequence) should easily be handled with less than 512MB. If you can, post a link to an FO file. That would allow us to do

Re: Java heap overflow error - unknown reason

2008-08-11 Thread Andreas Delmelle
On Aug 11, 2008, at 18:43, DavidJKelly wrote: Hi I have been trying to troubleshoot a java heap error for a good while, and I have researched the error messages on this site without luck. I have a 6000+ page document with numerous tables - the largest tables being at the front of the