facebook

MyEclipse slows down significantly when editing JavaScript.

  1. MyEclipse Archived
  2.  > 
  3. Web 2.0 / AJAX
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #302561 Reply

    jorbear
    Member

    Hi,

    I recently found the IDE response very slowly when editing JavaScript, especially when copy and pasting something in JavaScript. And the content assist function always gives error as below:

    Problem During Content Assist
    The org.eclipse.wst.jsdt.ui.JavaNoTypeCompletionProposalComputer’ proposal computer from ‘org.eclipse.wst.jsdt.ui’ plug-in did not complete normally. The extension took too long to return from the ‘computeCompletionProposals()’ operation.
    To avoid this message, disable the ‘org.eclipse.wst.jsdt.ui’ plug-in or disable the ‘Other javascript proposals’ category on the content assist preference page.

    I am using YUI in the project. Could this be the reason for the slowing down? What could i do to fix this issue?

    In addition, the IDE prompts “less than 5% memory available” shortly after i started. I have tried to increase the PermSize but the problem still. I also tried to upgrade to MyEclipse 7.5, and cant fix neither.

    Many thanks for any advice.

    Cheers,
    Nathan

    #302593 Reply

    Loyal Water
    Member

    Nathan,
    Can you paste the entire “Low Memory” error here for me because it will specify the *type* of memory that is low.

    Can you send us a sample project to help us reproduce this issue at our end.

    #302637 Reply

    jorbear
    Member

    Hi,

    I have just got the Low Memory error message.

    MyEclipse has detected that less than 5% of the 472MB of Tenured Gen (Heap Memory) space remains.

    It’s strongly recommended that you exit and restart MyEclipse with new virtual memory parameters to increase this memory. Failure to do so can result in data loss.

    The recommended eclipse memory parameters are:
    elicpse.exe -vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XXMacPermSize=128M.

    This time, it’s Heap memory. But previously, it can also be non-heap memory.

    I cant upload sample project to the forum, where should i send this to then. Please advise. Many thanks.

    #302643 Reply

    Loyal Water
    Member

    jorbear,
    Have you tried the exact arguments mentioned in this FAQ:-
    https://www.genuitec.com/forums/topic/troubleshoot-getting-outofmemoryexceptions-2/

    Did it help?

    #307743 Reply

    jouli
    Member

    I read your post and totally agree with you.Its nice sharing.I also needed to upgrade to Java 1.6. Problem lied in updating Tomcat’s JVM within MyEclipse to Java 1.6. web sites are source of information and this is one of them I book mark it and mail all of my friends to must check it.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: MyEclipse slows down significantly when editing JavaScript.

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