Hi Lukazs, Yesterday we have tried to check the source code and found its implementing SoftReference, its true that it will get garbage collected before OOM kicks in, right now we allocated Xmx 24 GB so i doubt if we throw more memory will solve the issue, but my gut feeling is, from SoftReference javadoc, *As long as the referent of a soft reference is strongly reachable, that is, is actually in use, the soft reference will not be cleared*.
We have no idea, why objects in cache grows even if we refresh the same page, on each refresh its creating new cache and adding similar set of object again, it seems like the cache holder itself is getting created multiple time even for the same page up on refresh (or reopen). -- View this message in context: http://struts.1045723.n5.nabble.com/Freemarker-caching-of-BeanWrapper-models-causing-Memory-Leak-tp5719662p5719712.html Sent from the Struts - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org