facebook

CPU hits 80 – 99% in editor

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #234607 Reply

    When editing JSP my computer will start using 80 – 99% of CPU time.
    I did a clean install of the eclipse and myeclipse and the problem is still there.

    Thank you,
    jonathan

    OS: Windows XP Professional
    Processor: 1700MHz
    1.ooGB RAM

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    MyEclipse JSF Support

    Version: 3.9.210
    Build id: 20050627-4.0-Milestone-2

    #234637 Reply

    Riyad Kalla
    Member

    Jonathan,

    Two things to check:
    1) That you are using atleast “-vmargs -Xmx256m” command line args to start MYEclipse.

    2) To trim down the JARs in your Build Path to only required compile-time dependencies. The more JARs you have in your build path the slower autocomplete will be.

    #234658 Reply

    I was using the vmagrs prior, so no change there.
    I did as you said and trimmed the JARs down and it sped up the JSP editing (unfortunatly, I had to also take out JAR files that I do need for the build).

    Question: Why wasn’t there a problem in the java editing being slowed down when all the JAR files were in the build path? There is only a problem in the JSP editing.

    Observation: FYI, since I build the project with an ANT script outside of eclipse/myeclipse it is not “too” much of a issue. However, if I was using myeclipse to build the project it would be a pain because I had to take out a lot of JARs that are dependent for the build (just to speed up the editor features). Also, when editing I have to “re-include” the JAR so that I can have the editing features.

    Question: Is there anyother method (other than removing the JAR) to help speed the JSP editor up?

    Thank you,
    –jonathan

    #234661 Reply

    decemberist
    Member

    I am getting incredibly slow compiles, deploys, and cut/paste functionality when I edit JSPs in MyEclipse.

    I cannot remove JARs as I use the MyEclipse for compilation.

    Please fix?

    #234666 Reply

    Riyad Kalla
    Member

    I was using the vmagrs prior, so no change there.

    Please paste them here so I can look at them.

    (unfortunatly, I had to also take out JAR files that I do need for the build).

    How many JARs did you have in your build path at first, and how many did you have after you trimmed it down to ONLY compile-time deps (trimming it down farther isn’t much of a workaround as you can’t work).

    Question: Why wasn’t there a problem in the java editing being slowed down when all the JAR files were in the build path? There is only a problem in the JSP editing.

    Because there is a performance issue with the JSP editor’s implementation of autocomplete. I’m trying to help you work around the issue, not suggest that it is behaving as it should, it’s not.

    Question: Is there anyother method (other than removing the JAR) to help speed the JSP editor up?

    You can turn off the reconciler by going to Window > Prefs > MyEclipse > Editors > JSP Editor > “Analyze while typing” and uncheck that.

    #234667 Reply

    Riyad Kalla
    Member

    decemberist,
    I’m going to ask you all of the same questions I ask Jon in this thread, so please answer them all if you would like help with the issue.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: CPU hits 80 – 99% in editor

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