[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1753) Memory leak on xhtml/jsf source browser
Snjezana Peco (JIRA)
jira-events at lists.jboss.org
Wed Apr 2 07:05:41 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1753?page=comments#action_12406495 ]
Snjezana Peco commented on JBIDE-1753:
--------------------------------------
This issue is fixed within JBIDE-1105/JBIDE-538.
There isn't a memory leak when opening/closing the VPE editor.
Steps to reproduce:
- show heap status
- create some JSF project
- import the http://jira.jboss.com/jira/secure/attachment/12315941/JBIDE-675.tar.gz archive
- open/close the employee.xhtml file a few times
In JBoss Tools 2.0.0/2.0.1 memory will be increasing permanently and you can get OOM.
The current SVN or latest builds work correctly. The memory will be increased only when the editor is opened the first time
Increasing PermGen is related to Sun's JDK and we can't fix it. A workaround is setting the PermGen space to a higher value.
I am using -XX:PermSize=128M -XX:MaxPermSize=256M
> Memory leak on xhtml/jsf source browser
> ---------------------------------------
>
> Key: JBIDE-1753
> URL: http://jira.jboss.com/jira/browse/JBIDE-1753
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JSF, Visual Page Editor
> Affects Versions: 2.0.0.GA
> Environment: Eclipse 3.3.1.1 with boss tools2.0.0.GA
> Reporter: Krashan Brahmanjara
> Assigned To: Sergey Vasilyev
> Fix For: 2.2.x
>
>
> Opening xhtml is slow and get big memory leak.
> Below description of few open/close file test and results of memory consumption
> 1.Start of eclipse with no editors
> heap memory usage 17MB
> non-heap 38MB (CMS PermGen 35MB)
> 2. Open new empty xhtml
> heap memory usage 37MB
> non-heap 54MB (CMS PermGen 49MB)
> 3. Close newempty xhtml (no editor windows)
> heap memory usage 35MB
> 4. Open simply xtml (only html tags)
> heap memory usage 44MB
> non-heap 57MB (CMS PermGen 51MB)
> 5. Close simply xhtml (no editor windows)
> heap memory usage 42MB
> 6. Open complex xtml with non html tags
> heap memory usage 56MB
> non-heap 58MB (CMS PermGen 51.5MB)
> 7. Close complex xhtml (no editor windows)
> heap memory usage 49MB
> Finally I got no open windows and heap usage grows from 17MB to 49MB.
> In big project with many files it is serious problem.
> In Eclipse without JBossTools I don't see this problem
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list