[
https://issues.jboss.org/browse/JBIDE-11682?page=com.atlassian.jira.plugi...
]
Alessandro Colomba commented on JBIDE-11682:
--------------------------------------------
Thank you, I tried again with different memory settings and making sure to clear the
workspace.
The latest nightly (Apr 30th) does indeed make a huge difference. With -Xmx1500m the index
took about 5 mins to generate (after which searches are quite fast.) With -Xmx2000m it
took a little less, with the heap reaching about 1.7GB during indexing.
I went back to the previous nightly (Apr 25th), before your commits, and tested with
-Xmx2500. The search eventually went on to use all available heap space, and after 15
minutes it was still running.
In summary, as you said the search does not hang, but it's very resource-intensive. By
comparison, we have been able to run Eclipse with -Xmx768m for a long time, despite the
size of the codebase. Doubling the heap space for this one feature would not be ideal.
Is there anything else that could be done to reduce memory usage further? Or, would it be
possible to avoid for a reference search to optionally avoid scanning XHTML files
altogether?
Thank you both for all your work.
Richfaces 3.3.0.Beta1 and later: Java reference search hangs
------------------------------------------------------------
Key: JBIDE-11682
URL:
https://issues.jboss.org/browse/JBIDE-11682
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml source editing
Affects Versions: 3.3.0.Beta1
Environment: Verfied on Mac OS X 10.6/10.7 and Windows XP/7; Eclipse J2EE 3.7,
SpringSource Tools Suite 2.9.0, 2.9.1; JBoss Tools Richfaces plugin 3.3.0.Beta1 and later,
including the nightly build (Apr 23rd.)
The problem does NOT occur on version 3.3.0.M5 of the Richfaces plugin.
Reporter: Alessandro Colomba
Assignee: Viacheslav Kabanovich
Labels: richfaces
Fix For: 3.3.0.CR1
Attachments: search-hung-2.txt, search-hung-nightly-201204030-1.txt,
search-hung-nightly-201204030-2.txt, search-hung.txt
Given a vanilla install of Eclipse/STS on either Mac/Windows plus the Richfaces plugin, a
Java reference search (cmd/ctrl-shift-g) on a method results in:
- The method references being found and displayed in the Search pane
- The search continuing indefinitely, slowly allocating memory until the heap is
exhausted.
A stack dump of the process is attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira