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
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
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
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
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
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
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
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