If you
are running FOP from the command line (or using the FOP batch file from the
command line) It's not an issue, since the VM gets created & destroyed each
time you use it.
If you
are using FOP from another Java program, then you want to use the specified
function before you begin a document translation. (I guess you could use it
after a translation too, not sure if it really matters in which place you do
it)
-----Original Message-----
From: VAGNER Rodolphe [mailto:[EMAIL PROTECTED]
Sent: Friday, July 25, 2003 9:26 AM
To: [EMAIL PROTECTED]
Subject: garbage collectorHy, I see on the site of FOP the following :
"Currently, the images are not automatically released when an OutOfMemoryError is imminent. The image cache can grow to a considerable size over time when a lot of different URLs are in use. Starting with version 0.20.5 you can call org.apache.fop.image.FopImageFactory.resetCache() to manually empty the cache. Image caching will be improved as part of our redesign effort. "
So I dont really understand how I can perform a GC during FOP is running.
Can someone tell me if perform a GC during fop is running is possible, and how, please.
Thank for helping.
Rodolphe
