-
1. Re: EnumType causes memoty leaks?
smarlow Jan 21, 2010 11:04 PM (in response to xmedeko)Hi Andy,
It might be helpful if you went into more detail about what you see in the memory analyzer tool (with regard to the leaked storage). For example, something like:
Class org.acme.catch.Hungry contains a hashMap. The HashMap has 10,000 instances of the same object value (each one referenced by a numerically incremented key). The map contains:
( ("1", "Liz"), ("2", "Liz"), ..., ("10000","Liz") )
Of course, you shouldn't include any private data. For the same reason, you shouldn't post the heap dump here either.
As far as putting gentle pressure on the Hibernate guys to solve this. That is best done by getting a support subscription (JBoss app server should be good). Check out http://www.jboss.com/services/subscriptions/ and help us to help you.
Scott
-
2. Re: EnumType causes memory leaks?
xmedeko Apr 12, 2010 6:08 AM (in response to smarlow)Hi Scott,
hmmm, money, you've got a point I will support you by providing a test case and patch (already attached to the HHH-4317 bug).