[
https://issues.jboss.org/browse/JBIDE-13844?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich updated JBIDE-13844:
------------------------------------------
Description:
Memory problem were reported
https://community.jboss.org/message/804026#804026
JarAccess is used by internal model to optimize requests to jar files. It builds a map
that binds parent folder path to its content. At present, maps include paths for all
entries so that in a large workspace with 500-1000 jars memory consumed by these maps may
add up to 70Mb. However, for a long time .class entries from JarAccess are not used
directly for presentation in ui. Class selector based on it had been replaced by
Eclipse's Class selector years ago. Builders in CDI and Seam get classes from JDT
model. Open-ons work with JDT elements as well. Hence, if internal model has no more data
on .class entries, it should not affect anything, while the profit is significant - memory
consumed by maps in JarAccess may drop 5 to 10 times.
JarAccess should ignore .class entries in jar files
---------------------------------------------------
Key: JBIDE-13844
URL:
https://issues.jboss.org/browse/JBIDE-13844
Project: Tools (JBoss Tools)
Issue Type: Task
Components: common/jst/core
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 4.1.0.Alpha2
Memory problem were reported
https://community.jboss.org/message/804026#804026
JarAccess is used by internal model to optimize requests to jar files. It builds a map
that binds parent folder path to its content. At present, maps include paths for all
entries so that in a large workspace with 500-1000 jars memory consumed by these maps may
add up to 70Mb. However, for a long time .class entries from JarAccess are not used
directly for presentation in ui. Class selector based on it had been replaced by
Eclipse's Class selector years ago. Builders in CDI and Seam get classes from JDT
model. Open-ons work with JDT elements as well. Hence, if internal model has no more data
on .class entries, it should not affect anything, while the profit is significant - memory
consumed by maps in JarAccess may drop 5 to 10 times.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira