facebook

Having JSP open slows IDE to a crawl.

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #267436 Reply

    trant
    Participant

    We have pretty decent size JSPs, not huge but good amount of stuff inside.

    When I have these JSPs open in the IDE, everything slows to a crawl. It’s like MyEclipse is doing some constant validation or something on it. For example I will try to stop/start Tomcat, or run an ANT script and the entire IDE just stalls if some JSP is open. As soon as I click the X to close the JSP the system responds immediately and starts whatever I started with no problem.

    Also just scrolling through these JSPs is extremely sluggish.

    What is going on and how can I disable whatever feature is causing this?

    BTW I am on Vista, brand new laptop.

    #267467

    Riyad Kalla
    Member

    Can you go to MyEclipse > INstallation Summary > Installation Details and post that information here for me?

    Also please give me some vitals on the JSP page and the project:
    * How many lines is the JSP?
    * Taglibs? Scriptlets? A lot? A few?
    * A lot of warnings or errors in the page?
    * Is this a web project? Spring caps? JSF caps? etc.

    #267524

    trant
    Participant
    
    *** Date: 
    Friday, March 16, 2007 12:13:23 PM EDT
    
    ** System properties:
    OS=windows vista
    OS version=6.0
    Java version=1.5.0_11
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.1.1 GA
    Build id: 20070302-5.1.1-GA
    
    
    *** Eclipse details:
    Eclipse SDK
    
    Version: 3.2.1
    Build id: M20060921-0945
    
    
    
    
    Eclipse Platform
    
    Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
    Build id: M20060921-0945
    
    
    Eclipse RCP
    
    Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
    Build id: M20060921-0945
    
    
    Eclipse Java Development Tools
    
    Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
    Build id: M20060921-0945
    
    
    Eclipse Plug-in Development Environment
    
    Version: 3.2.1.r321_v20060823-6vYLLdQ3Nk8DrFG
    Build id: M20060921-0945
    
    
    Eclipse Project SDK
    
    Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
    Build id: M20060921-0945
    
    
    Eclipse Graphical Editing Framework
    
    Version: 3.2.2.v20070208
    Build id: 20070208-1315
    
    
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    afc_64
    -vm
    C:\Program Files\Java\jdk1.5.0_11\bin\javaw.exe
    
    

    One particular JSP has 280 lines of code, pretty heavy use of JSLT tags but it has alot fo warnings.

    Maybe I just need to shut off the real-time warning enginge? How would I do that?

    #267537

    Riyad Kalla
    Member

    Before we shut anything off, it looks like you are using your own manual install of MyEclipse/Eclipse and not the all-in-one bundle. So something to make sure is that your command line args are optimzed, as shown here:
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.html

    #267629

    trant
    Participant

    Ok, does not look like that helped.

    Please tell me how to shut off the warnings generated on JSP page.

    Will this turn off all validation? I guess there’s some parts of that I will miss but the alternative is much worse. It slows my machine to a crawl. I tried it on my Windows XP machine too which despite older hardware runs Eclipse much faster and smoother than Vista.

    #267634

    Riyad Kalla
    Member

    You can shut off the real-time checking under Window > Prefs > MYEclipse > Files & Editors > Common Editor Preferences > “Report problems as you type”, uncheck that and close/reopen all your editors.

    #267641

    trant
    Participant

    Thank you so much!

    What a relief, it’s a HUGE difference now

    #267685

    Riyad Kalla
    Member

    I’m glad it’s performing better now, the real-time analysis is expensive in terms of processing… I’ll make a note that we should profile it and look into it and see if we can improve it even more.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Having JSP open slows IDE to a crawl.

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