[jbosstools-issues] [JBoss JIRA] (JBIDE-11682) Richfaces 3.3.0.Beta1 and later: Java reference search hangs

Alessandro Colomba (JIRA) jira-events at lists.jboss.org
Thu Apr 26 22:28:17 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688219#comment-12688219 ] 

Alessandro Colomba commented on JBIDE-11682:
--------------------------------------------

Thank you for the quick reply!

As to  JBIDE-11539, would the code that addressed that JIRA be in the nightly build jbosstools-3.3_trunk.aggregate-Update-SNAPSHOT.zip dated 23-Apr-2012 21:14 ? If not, I'd be glad to wait until a nightly that does include it.

Regarding your other questions:

We have just short of a thousand XHTML files. (Also about 2500 spring context files, but the problem occurs even without the Spring tools.)

Reference searches with the 3.0.0M5 release (which we are currently using) are quite speedy, definitely under a minute, and with no undue memory usage. I should also point out that I also tested while reusing the same workspace fresh off a search with 3.3.0M5 when I ran the same search with 3.3.0.Beta1/Beta2/trunk, so I don't know that there would have been any initial first-time indexing coming into play.

Adding heap space doesn't seem to solve the problem. Below is a set of heap settings, higher than our usual, I used for testing:

-Xmn256m
-Xms512m
-Xmx1500m
-Xss3m
-XX:PermSize=256m
-XX:MaxPermSize=768m

The heap settings are the only ones I changed when testing.
                
> 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, 3.3.0.Beta2
>         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: Alexey Kazakov
>              Labels: richfaces
>         Attachments: search-hung-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

        


More information about the jbosstools-issues mailing list