[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4740) Hibernate console has a memory leak
Vitali Yemialyanchyk (JIRA)
jira-events at lists.jboss.org
Tue Sep 1 11:51:23 EDT 2009
[ https://jira.jboss.org/jira/browse/JBIDE-4740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12483964#action_12483964 ]
Vitali Yemialyanchyk commented on JBIDE-4740:
---------------------------------------------
Denis, with you changes I had errors in junit tests on my machine. It seems magic LIMIT not suitable for my PC configuration... :)
Seriously, I opposite such hacks. The reason of memory grow is quickly open/close editors more then 880 times.
Here: http://dev.eclipse.org/blogs/memoryanalyzer/2008/04/21/immortal-objects-or-how-to-find-memory-leaks/
first string - start of the article: "This is a classic memory leak: Select Window -> New Window in your Eclipse IDE and then close the new window right away. The heap usage grows a little bit. Open and close a couple new windows and the heap usage grows more. That's what bug 206584 is about."
If this is principally to change memory usage for this JUnit - we should try to find other better way to fix this.
My current proposition is revert changes back...
> Hibernate console has a memory leak
> -----------------------------------
>
> Key: JBIDE-4740
> URL: https://jira.jboss.org/jira/browse/JBIDE-4740
> Project: Tools (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
> Assignee: Vitali Yemialyanchyk
> Fix For: 3.1.0.M4
>
> Attachments: dump6_Leak_Suspects.zip, dump6_Top_Components.zip, dump6_Top_Consumers.zip, 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