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

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sat Sep 22 10:38:14 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Pires Plentz resolved HHH-2456.
-------------------------------------

      Assignee: Diego Pires Plentz
    Resolution: Duplicate

> Memory leak in BasicLazyInitializer
> -----------------------------------
>
>                 Key: HHH-2456
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2456
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.2
>         Environment: Hibernate 3.2.2, cglib 2.1.3, jdk 1.4.2, weblogic 8.1
>            Reporter: Julien Kirch
>            Assignee: Diego Pires Plentz
>            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