[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2456) Memory leak in BasicLazyInitializer

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Thu Mar 1 08:23:31 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2456?page=comments#action_26345 ] 

Max Rydahl Andersen commented on HHH-2456:
------------------------------------------

We would look much more seriously into this if you could actually provide a testcase that reproduces this. Please look into all other cases that have tried that.

> Memory leak in BasicLazyInitializer
> -----------------------------------
>
>          Key: HHH-2456
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2456
>      Project: Hibernate3
>         Type: Bug

>   Components: core
>     Versions: 3.2.2
>  Environment: Hibernate 3.2.2, cglib 2.1.3, jdk 1.4.2, weblogic 8.1
>     Reporter: Julien Kirch
>     Priority: Blocker
>  Attachments: graph_2.png
>
>
> While profiling our application because of OutOfMemory, I noticed a big memory leak that seems to come from hibernate:
> After some calls a CGLIBLazyInitializer containing a a SessionImpl is referenced in a threadlocal so it is never GCed even if the session is closed and the calling flow is over
> Forum thread http://forum.hibernate.org/viewtopic.php?t=968853 seems to deal with the same issue
> I attached a picture of the profiling information

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list