]
Max Rydahl Andersen commented on JBIDE-17866:
---------------------------------------------
what kind of savings does these changes result in ?
And we should resolve this with details for CR1 and open separate one for future 4.3
work.
JSF/KB memory leak
------------------
Key: JBIDE-17866
URL:
https://issues.jboss.org/browse/JBIDE-17866
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsf
Affects Versions: 4.2.0.Beta3
Reporter: Fred Bricon
Assignee: Viacheslav Kabanovich
Fix For: 4.2.0.CR1
Playing with m2e 1.6 on my new MBP, I imported the
[
wildfly|https://github.com/wildfly/wildfly]
[
projects|https://github.com/wildfly/wildfly-core] in my workspace, then deleted
everything.
Before import heap was at ~80MB, after th 135 projects and forcing GC, it doesn't go
down 280MB. I then took a heap dump
(
https://www.dropbox.com/s/gmxy6ofdwrtb8g2/java_pid14384.0002.hprof.zip), loaded it into
Eclipse Memory Analyzer and looked for org.jboss.* components.
It seems we retain many XModelMetadataIpl, JSF2Project, KbProject instances and a bunch
of other JBT classes, that should be cleaned up when projects are deleted from workspace
!http://content.screencast.com/users/fbricon/folders/Jing/media/218ef77b-df6a-44f8-864d-f6d6fb8999e7/00000001.png!