[JBoss JIRA] Created: (JBIDE-1753) Memory leak on xhtml/jsf source browser
by 123 123 (JIRA)
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: 123 123
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
18 years
[JBoss JIRA] Created: (JBIDE-1775) Tools Palette: XHTML template does not define <body> tag
by Alex Ivanov (JIRA)
Tools Palette: XHTML template does not define <body> tag
--------------------------------------------------------
Key: JBIDE-1775
URL: http://jira.jboss.com/jira/browse/JBIDE-1775
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 2.0.0.GA
Reporter: Alex Ivanov
Priority: Trivial
Select from menu: File->New->XHTML creates new XHTML file from template.
I suggest to add <body> tag there.
If <body> is not defined and you add some Rich Faces components, such as calendar, they does not work and there is no obvious error.
I know you can use Facelets tags <ui:define name="body" if you use template, but I just suggest simple template suit novice users.
You can even contemplate to add <form> tag to make sure novice have not forgotten it!
--
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
18 years