Re: [XSL-FO] Error message in FOP
- Victor Vishnyakov wrote:
> This is the FOP who ran out of your memory.The amount of memory available to FOP or any Java program is not necessarily
> Possible reasons are: either your stylesheet is not optimized for FOP
> implementation limits or FOP is not conformant for your workflow.
> Possible solutions are: optimize your stylesheet and/or add additional
> memory to your computer and increase swap file.
connected to amount of memory on the machine. By default a Java program gets
just 64 Mbytes of memory allocated. With this most FO Formatters can only
manage the simpliest of documents before running out of memory.
You need to tell Java to use more memory with the -Xmx option added to the
command line call of Java. This along with suggestions on optimising the
stylesheet are discussed on FOP's website in the link I posted previously.
- Thanks for your answer I understand I try to genenrate a 100 page
pdf so I understand now
With the -Xmx512m that work !!! Thanks Chris
Chris Bowditch wrote:
This along with suggestions on optimising the
> stylesheet are discussed on FOP's website in the link I postedpreviously.
>Chris can you give me the link of the fop's website for optimising
Chris you are my god!!
- virgul4u wrote:
> Thanks for your answer I understand I try to genenrate a 100 page
> pdf so I understand now
> With the -Xmx512m that work !!! Thanks Chris
> Chris can you give me the link of the fop's website for optimisingThere are some tips on how to reduce FOP's memory consumption here:
That work it's great! thanks all
I have know another probleme I wan't to make this transformation with
a webservice .net
so I have found a class called nfop but know I don't know where I can
add the commutator -Xmx512m? Has anybody an idea?
Or Can I use the fop.bat with my webservice or is it impossible?
Thanks for your ideas