Hi Simon,

Simon Kitching wrote:
> 
> I suspect think there is. A ReferenceMap will have internal data 
> structures. I haven't checked the code, but would guess that these are 
> only cleaned up when methods are called on the referencemap.
> 
Right, this coul'd be a problem. Internally there is a byte array.
This array grows and memory increases for holding the references
in that array - 4/8 bytes per reference (32/64 bit JVM). The
entries of this array are garbage collected, but the size of the
array itself might grow and grow...
(400.000 entries = 2 MB -> "slight leak")


best regards
Daniel

-- 
View this message in context: 
http://www.nabble.com/statesaving---memory-consumption-tp19256471p19270321.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to