facebook

JSP Editor hogs my CPU

💡
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 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #230195 Reply

    amontea
    Member

    I have seen multiple posts on this in the J2EE forum, but no clear answer.

    When I update a jsp page, the cpu starts cranking at about 99%. It usually takes between 30sec to a minute to complete whatever the heck it is doing in the background. I have turned off JSP validation, so I don’t know why it is doing this.

    Here is my setup:
    XP Professional SP2.
    1 Gig of RAM.
    Pentium Centrino 1.6 MHz processor.
    Eclipse 3.06
    MyEclipse 3.84

    I am starting Eclipse in the following way: eclipse.exe -vmargs -Xmx256M

    This doesn’t happen everytime, but I would say that it happens close to 50% of the time.

    #230202

    amontea
    Member

    I think that this is the associated message that occurs during the problem.

    !ENTRY org.eclipse.ui 4 0 May 26, 2005 07:32:49.426
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at com.ibm.sse.model.xml.internal.parser.ContextRegionContainer.getStartOffset(Unknown Source)
    at com.ibm.sse.editor.jsp.internal.contentassist.JSPContentAssistProcessor.computeCompletionProposals(Unknown Source)
    at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1472)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:242)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:238)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java:197)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:192)
    at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:319)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2750)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2435)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    at org.eclipse.core.launcher.Main.run(Main.java:638)
    at org.eclipse.core.launcher.Main.main(Main.java:622)

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP Editor hogs my CPU

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