[
https://jira.jboss.org/browse/JBIDE-6597?page=com.atlassian.jira.plugin.s...
]
Snjezana Peco commented on JBIDE-6597:
--------------------------------------
I think that opening page.xml or components.xml isn't the cause of this problem which
can be checked by closing and opening components.xml again. Memory usage isn't
increased after first opening this file.
In my opinion, the problem is that XModel and KB validator use a lot of memory (opening
components.xml probably starts KB Validator).
Adrian,
Could you try the following:
- disable JBoss KB Project Validator using Window<Preferences>Validation
- restart Eclipse and repeat your test case
The memory should be lower than before.
KB Validator aggressively caches pages within the PageContextFactory class. The allocated
memory is lower and system performance better if we clear this cache after calling the
validator. Attached is a patch.
Re XModel, I haven't found any significant problem. There is a memory leak when
closing/deleting a project, but it doesn't have any effect on this case. The solution
would be that KBProject.clean() calls libraries.clear() or creates a new method that would
clear libraries when the project is closed/deleted.
Seam tools are taking big amount of the memory
----------------------------------------------
Key: JBIDE-6597
URL:
https://jira.jboss.org/browse/JBIDE-6597
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.1.0.GA
Reporter: Adrian Mitev
Assignee: Snjezana Peco
Attachments: 2010-07-12_1044.swf, jbide6597.patch,
jbosstools-diagnostics-20100712111207.zip
Hello! I have a relatively big project:
- 5000 classes
~ 150 seam components
- 520.xhtml files
- 20 pages.xml files
When i open a resource related to seam (like pages.xml, components.xml). The IDE loads
the seam plugins, does some computations and takes most of my memory.
I'm attaching a short video to see what happens and some useful information.
Eclipse version: 3.5.1 Build id: M20090917-0800
JBT build: 3.1.0.v200909110340M-H277-M3
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira