[
https://issues.jboss.org/browse/JBIDE-11682?page=com.atlassian.jira.plugi...
]
Viacheslav Kabanovich commented on JBIDE-11682:
-----------------------------------------------
Now that we do not keep references to document, cached search results do not take much
memory, in your case it may be some 10Mb or 20Mb. But in the process of the first search
each document has to be processed, many of them in a short time, so that even though
references are discarded, the garbage collector does not hurry and release the memory, and
VM behaves greedy. I think all we can do right now is to add a preference option that
would restrict the number of xhtml/xml files scanned in the search.
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