Hi Massimo,

massimo citterio <[email protected]> wrote on 02/10/2009 09:42:14 AM:

> On Tue, 2009-02-10 at 08:34 -0600, Archie Cobbs wrote:
> > Batik uses soft reference caches, etc. So in general you can't tell
> > much from memory usage reports.
> > 
> > The only definitive evidence is whether you see an OutOfMemoryError or
> > not. Until you see one, there is no proof of a memory leak.
> 
> But my real application makes a large usage of animations and dynamic
> svg objects.
> I'm wondering if I can limit the memory available for a  singe svg
> document, something like  setAnimationLimitingCPU or
> setAnimationLimitingFPS for a JSVGCanvas.

   I don't think this would be a useful thing to do.  It would only
cause the Garbage collector to run at times when it isn't needed
hurting system performance rather than helping (remember generally
when the GC runs everything stops).

Reply via email to