Re: fo:external graphics and memory usage

2003-05-15 Thread Jeremias Maerki
Yes, the images are indeed cached in FopImageFactory and you can call
org.apache.fop.image.FopImageFactory.resetCache() to empty the cache.

On 15.05.2003 09:18:33 Mirko Sertic wrote:
 I have a little question about fo:external-graphic and memory usage.
 I think this question was answered before, but i did'nt find the right
 thread :-(.
 
 Are images that were used in fo:external-graphic cached, and if , where ?
 And how do i reset this cache ? I'm using 0.20.5rc2.
 
 I ask this question because my jvm ( sun, win2k ) heap size grows and grows
 till i's sudden out-of-memory-death. Because we are using CORBA, i thought
 about orb object references that where not corretly cleaned, but analysis
 with jprofiler says that there are none, except that the heap seems not to
 be cleaned up.
 
 What am i doing wrong ?


Jeremias Maerki


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



Re: fo:external graphics and memory usage

2003-05-15 Thread Ben Galbraith
Jeremias Maerki wrote:
Yes, the images are indeed cached in FopImageFactory and you can call
org.apache.fop.image.FopImageFactory.resetCache() to empty the cache.
Hey, this is definitely something that belongs on the website in a 
prominent place in the section explaining how to embed FOP -- not 
knowing about this would have caused a nasty problem in our application.

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


Re: fo:external graphics and memory usage

2003-05-15 Thread Jeremias Maerki
Done in CVS.

For people interested in contributing: writing documentation patches is
a great way to contribute. :-)

On 15.05.2003 16:00:20 Ben Galbraith wrote:
 Jeremias Maerki wrote:
  Yes, the images are indeed cached in FopImageFactory and you can call
  org.apache.fop.image.FopImageFactory.resetCache() to empty the cache.
 
 Hey, this is definitely something that belongs on the website in a 
 prominent place in the section explaining how to embed FOP -- not 
 knowing about this would have caused a nasty problem in our application.


Jeremias Maerki


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