facebook

JSP Search Indexing problem [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 15 posts - 16 through 30 (of 40 total)
  • Author
    Posts
  • #214778 Reply

    Riyad Kalla
    Member

    Refactoring should be in the 3.9 release, I believe Scott gave its timeline in another thread.

    #214872 Reply

    jae
    Participant

    are we on the same page w/ this? i’m talking about the fact that if i try to refactor a method in a java class, the jsp indexer runs and runs and basically causes eclipse to become useless and require a forced restart.

    i would hope this issue would be fixed sooner then a 3.9 release.

    #214882 Reply

    Riyad Kalla
    Member

    In that case no we weren’t on the same page, that fix is in 3.8.2 (the crazy indexer/memory hog fix).

    #214883 Reply

    jae
    Participant

    cool – thx for the update!

    #216219 Reply

    Recently I installed the 3.8.2, the problem is also present.
    Do you habe problens reproducing the porblem?
    I have this problem consistently, so if you have problems reproducing it, I my tray so isolate a case to reproduce it.

    For me refactor and serchs are very importans so I have to uninstall myExlipse since 3.0 release =(

    #216227 Reply

    Riyad Kalla
    Member

    Demch,
    Yes absolutely we will need your help reproducing this… this should have been fixed in 3.8.1, and futher optimized/fixed in 3.8.2… none of the team (including myself) have run into any out of memory exceptions or validation issues and we did some massive testing on compilations/editing/manipulations of large projects.

    Keep in mind that refactoring in JSP pages is not fully supported yet, and we are looking at getting it into 3.9 at the earliest.

    Can you tell us what your Build IDs of Eclipse and MyEclipse are? Also what command line args do you launch Eclipse with? Also what errors do you see in the log files? And what problems are you having exactly?

    #216486 Reply

    Empty
    Participant

    Hi,
    i have the same problem, any refactoring kills eclipse when MyEclise is enabled. There is no way out other than killing the javaw process.
    The “Rename Compilation Unit” Window hangs with the “Creating Workspace Modifications” and a not moving progress bar. Pressing the cancel button or the close button on this window has no effect.

    At the moment i have 3 projects. Two rather small and one with about 1500 JSPs. If i try to refactor a class in one of the smaler projects eclipses memory usage increases dramatically (up to 600MB) and i have to kill it. If i disable MyEclipse the refactoring works fine and takes about 2-5 seconds. The class i try to refactor has nothing to do with JSPs – it is a simple HelloWorld test class.

    Eclipse build id is: 200409161125 (Version: 3.0.1)
    MyEclipse build id: 200409171200-3.8.2
    Eclipse is startet with: eclipse.exe -vmargs -Xmx1024M

    The only workaround i found so far is disabling MyEclipse before refactoring ;(

    best regards
    Axel

    #216499 Reply

    Riyad Kalla
    Member

    Axel,
    Thank you for the details… I don’t know that we did testing with a project that large, and that might be the problem. I will check with the team to see if the JSP indexer still has issues with huge amounts of JSP pages and see if we can’t get this worked out.

    #216908 Reply

    Joseph Li
    Member

    hi,

    Eclipse:
    ————-
    Version: 3.0.1
    Build id: 200409161125

    MyEclipse:
    ————-
    Version: 3.8.2
    Build id: 200409171200-3.8.2

    I have similar memory problem with Eclipse 3.0.1 and . MyEclipse seems to be using a lot of memory. I have recently re-created my projects so JSP completion would work. Immediately after doing so, the memory usage jumped. I have around ~12 projects defined in the workspace and usually I can open 3-4 projects without problems with 512MB max mem (it rarely uses over 300Meg before). After recreated two of the mostly used projects to make the JSP code completion work, the memory usuage jumped. Now I can only open 2 projects (the recreated ones) at most with 640MB max memory and sometimes it would give me OutOfMemory err if I do anything significant like refreshing the whole project or performing CVS operation. The memory usage stays above 500 megs even after garbage collection, actually performing garbage collection helps only a little. Is there a known memory leak in the CVS module as well?

    The average size of the projects are around 600+ JSPs and ~4000+ classes.

    Regards,
    Joseph

    #216911 Reply

    Riyad Kalla
    Member

    I can’t speak to the CVS module because its part of Eclipse, but can you try the new quickfix for large projects and memory leaks by emailing support@genuitec.com and referencing this thread saying that you want to try out the new quickfix. Then I should be able to send you a link that you can download it from and try it out.

    #217175 Reply

    Joseph Li
    Member

    hi Riyad,

    Thanks for the quick help. I installed the quickfix and its much better now.

    Joseph

    #217181 Reply

    Riyad Kalla
    Member

    Awesome.

    #217221 Reply

    shuvradeep
    Member

    i am getting eclipse crashes right and left. particularly when i refresh my web project or build it. i am running eclipse 3.01 with myeclipse 3.8.2 on windows 2000 server.

    !ENTRY com.ibm.sse.model.jsp 4 4 Oct 08, 2004 14:45:21.747
    !MESSAGE Resource /AventisHGSTSJava/xdoclet-build.xml is not local.
    !STACK 1
    org.eclipse.core.internal.resources.ResourceException: Resource /AventisHGSTSJava/xdoclet-build.xml is not local.
    at org.eclipse.core.internal.resources.Resource.checkLocal(Resource.java:322)
    at org.eclipse.core.internal.resources.File.getContentDescription(File.java:243)
    at com.ibm.sse.model.jsp.internal.java.search.JSPSearchSupport.addJspFile(Unknown Source)
    at com.ibm.sse.model.jsp.internal.java.search.JSPIndexManager$2.visit(Unknown Source)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
    at com.ibm.sse.model.jsp.internal.java.search.JSPIndexManager$1.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
    !SUBENTRY 1 org.eclipse.core.resources 4 369 Oct 08, 2004 14:45:21.747
    !MESSAGE Resource /AventisHGSTSJava/xdoclet-build.xml is not local.

    !ENTRY org.eclipse.ui 4 4 Oct 08, 2004 14:54:07.814
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 Oct 08, 2004 14:54:07.824
    !MESSAGE java.lang.OutOfMemoryError
    !STACK 0
    java.lang.OutOfMemoryError

    !ENTRY org.eclipse.core.runtime 4 2 Oct 08, 2004 14:54:10.578
    !MESSAGE An internal error occurred during: “Update JSP Index”.
    !STACK 0
    java.lang.OutOfMemoryError

    kindly help.

    #217249 Reply

    Riyad Kalla
    Member

    java.lang.OutOfMemoryError

    You need to give Eclipse more memory, add this to your command that starts it:

    -vmargs -Xms128m -Xmx256m

    #217332 Reply

    shuvradeep
    Member

    putting in the quickfix fixed the out of memory errors. thanks.

Viewing 15 posts - 16 through 30 (of 40 total)
Reply To: JSP Search Indexing problem [Closed]

You must be logged in to post in the forum log in