Memory leak?

Marc Schipperheyn <[email protected]> Sat, 16 Nov 2013 20:23:40 +0000 (UTC)
Newsgroups gmane.comp.web.freemarker.devel
Message-ID <[email protected]>
Hi,

I'm doing some memory leak analysis on our system that uses Spring, 
Hibernate, Hibernate Search and Freemarker.

In one of our heapdumps, freemarker.core.InvalidReferenceException 
popped up as participating in a Leak Suspect. 
Looking at the way TemplateExceptions are handled and the 
Environment that is stored in them, I am wondering if this isn't a 
potential cause for memory leaks. Does the Environment reference the 
surrounding Environment, in my case Spring?

I'm not sure about this, but I thought it would be interesting 
to bring it up.

Marc


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk