--- Comment #9 from Andreas L. Delmelle <[EMAIL PROTECTED]>  2008-12-02 
15:18:33 PST ---
(In reply to comment #7)
> Profiling shows me a growing number of allocations of the following class:
> Although the instances seem to be referenced from java.util.WeakHashMap only
> they don't get garbage collected. 

Ouch! Ugly one. Seems to be a classic mistake, again... Since the instances are
used both as key and value, they are never released and the map keeps growing. 

> What are these Marker classes used for and when should they be released again?

For attributes of fo:markers. They should be released as soon as they are no
longer referenced.

> Is there a way to force their release? 

Quick fix would be to modify the code, at line 381 in Marker, and change it to:

attributeCache.put(new java.lang.ref.WeakReference(newInstance), newInstance);

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to