[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4740) Hibernate console memory leak?

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Aug 12 07:08:18 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12480216#action_12480216 ] 

Max Rydahl Andersen commented on JBIDE-4740:
--------------------------------------------

if the sessionfactory or console configuraiton doesn't get closed properly then it will leak.

Thus in unit tests you have to close SF and make sure nothing refers to the console configuration afterwards.


> Hibernate console memory leak?
> ------------------------------
>
>                 Key: JBIDE-4740
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4740
>             Project: JBoss Tools
>          Issue Type: Task
>          Components: Build/Releng, Hibernate
>    Affects Versions: 3.1.0.M3
>         Environment: Ubuntu 9.04 x86
> Java 1.5.0-18
>            Reporter: Denis Golovin
>             Fix For: 3.1.0.M3
>
>         Attachments: jconsole-memory.png
>
>
> I've noticed tests amount of tests on hudson is jumping. It seems to depend on host where tests has been executed. The problem is OutOfMemoryException in hibernate console tests. I ran those tests localy and have a graph from jconsole for java heap (see attachment).

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

        


More information about the jbosstools-issues mailing list