From: Marco Knuettel <[EMAIL PROTECTED]>

Hi *,

i want tu use FOP to create PDF-Files on the fly in a webapplication.
My servlet is creating the PDF, but i have to start the tomcat with
-mx512m.
If the servlet is creating the pdf it use 400Mb Ram. But this reserved
Memory is always reserved :-((
I tryed to reset the imageCache, but its not better :-((

How can i free the reserved memory?


I take it that you've read:

http://xml.apache.org/fop/running.html#memory

How are you calling FOP in your servlet? Make sure your driver object is destroyed between calls.

You could also try calling System.gc() in between calls to the servlet.

Chris

_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you. http://www.msn.co.uk/internetaccess



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to