facebook

MyEclipse10 freezed, when i open file has java script

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

    Hi
    Whenever i open file(jsp/html), which contains javascript content, myeclipse10 occupies full memory and the Myeclipse frozen immediately. After tha i unable to work. i also attached the myeclipse.ini file along with this topic. Can any one give me solution to fix this.

    #323328 Reply

    #ansi (do not remove)
    -startup
    ../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    –launcher.library
    ../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505
    -install
    /root/MyEclipse/MyEclipse 10
    -vm
    /root/MyEclipse/Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/java
    -configuration
    /root/MyEclipse/MyEclipse 10/configuration
    -vmargs
    -Xmx1500m
    -XX:MaxPermSize=512m
    -XX:ReservedCodeCacheSize=128m
    -Duser.name=sampath

    #323331 Reply

    support-swapna
    Moderator

    Sampath,

    Sorry that you are seeing this issue.

    1) Can you share the installation details from menu MyEclipse > Installation Summary > Installation Details ? Paste them here for us.

    2) Do you see any errors of interest logged in the .log file which is located at <workspace dir>/.metadata/.log ? If yes then please paste them here for us.

    3) Please take a look at this FAQ for memory and performance issues and check if the suggestions work for you :
    https://www.genuitec.com/forums/topic/troubleshooting-memory-amp-performance-issues/

    Let us know how it works for you.

    #323357 Reply

    Thanks for your reply. i checked the FAQ page. Everything configured properly. i am not able to attach log and installation file in forum topic, so i appended with this mail.

    installation details:

    *** Date:
    Wednesday, February 15, 2012 9:19:20 PM PST

    ** System properties:
    OS=Linux
    OS version=2.6.42.3-2
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 10.0
    Build id: 10.0-20111028

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 10.0
    Build id: 10.0-20111028

    Eclipse startup command=-os
    linux
    -ws
    gtk
    -arch
    x86_64
    -showsplash
    -launcher
    /root/MyEclipse/MyEclipse 10/myeclipse
    -name
    Myeclipse
    –launcher.library
    /root/MyEclipse/MyEclipse 10//../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
    -startup
    /root/MyEclipse/MyEclipse 10//../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    –launcher.overrideVmargs
    -exitdata
    a0005
    -install
    /root/MyEclipse/MyEclipse 10
    -configuration
    /root/MyEclipse/MyEclipse 10/configuration
    -vm
    /root/MyEclipse/Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/java

    .log

    !ENTRY org.eclipse.osgi 2 1 2012-02-15 20:34:50.933
    !MESSAGE NLS unused message: Unnecessary_Semicolon_ERROR in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources

    !ENTRY org.eclipse.osgi 2 1 2012-02-15 20:34:50.934
    !MESSAGE NLS missing message: Obsolete_attribute_name___ERROR_ in: org.eclipse.wst.html.core.internal.HTMLCorePluginResources

    !ENTRY org.eclipse.wst.jsdt.core 4 4 2012-02-15 20:38:30.847
    !MESSAGE Exception occurred during problem detection:
    ———————————– SOURCE BEGIN ————————————-
    return event.keyCode!=13; showUsers(this);; setValue(this);;
    function showUsers(val) {

    var searchTxt = document.forms[‘userSearchForm’].elements[‘searchTxt’].value;
    var activeArea = document.getElementById(“activeArea”);
    var errorArea = document.getElementById(“errorArea”);
    activeArea.innerHTML=”_$tag________________________________________________”;
    YAHOO.util.Dom.get(“found”).value=””;
    document.getElementById(“all”).checked=false;
    var url = “./showSearchedUsers.do?searchTxt=” + searchTxt;
    var response = {
    success : function(o) {
    var result = o.responseText;
    if (result == 1) {
    activeArea.innerHTML = “”;
    } else {
    errorArea.innerHTML = “”;
    activeArea.innerHTML = o.responseText;
    }
    },
    failure : function(o) {
    activeArea.innerHTML = “_$tag___________________________________________”;
    }
    }
    var conn = YAHOO.util.Connect.asyncRequest(‘GET’, url, response)
    }

    function setValue(val) {
    var add = document.getElementById(val.id).checked;
    var uid = document.getElementById(val.id).id;
    var found = YAHOO.util.Dom.get(“found”);
    var url = “./addOrRemoveMigrateUser.do?add=” + add + “&uid=” + uid;

    var response = {
    success : function(o) {
    var result = o.responseText;
    if (result == ‘N’) {
    activeArea.innerHTML=””;
    }
    else
    {
    activeArea.innerHTML=result;
    if (add == true) {
    found.value = “Y”;
    } else {
    found.value = “”;
    }
    }
    },
    failure : function(o) {
    activeArea.innerHTML = “_$tag___________________________________________”;
    }
    }
    var conn = YAHOO.util.Connect.asyncRequest(‘GET’, url, response)
    }

    function migrate() {

    var found = document.getElementById(“found”).value;
    var activeArea = document.getElementById(“activeArea”);
    var errorArea = document.getElementById(“errorArea”);
    if (found != ‘Y’) {
    errorArea.innerHTML = “_$tag____________________________________________”;
    } else {
    activeArea.innerHTML =”_$tag________________________________________________”;
    document.forms[‘userSearchForm’].submit();
    document.getElementById(“search”).style.display=”none”;

    }
    }

    ———————————– SOURCE END ————————————-
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.wst.jsdt.internal.compiler.ast.EqualExpression.analyseCode(EqualExpression.java:100)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ReturnStatement.analyseCode(ReturnStatement.java:43)
    at org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration.analyseCode(CompilationUnitDeclaration.java:155)
    at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:675)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:274)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:272)
    at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:242)
    at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1086)
    at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
    at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
    at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
    at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1221)
    at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:552)
    at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:180)
    at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:346)
    at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:367)
    at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1159)
    at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:737)
    at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:697)
    at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:843)
    at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:701)
    at org.eclipse.wst.validation.internal.ValBuilderJob$Visitor.visit(ValBuilderJob.java:301)
    at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:106)
    at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:65)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:75)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:104)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:88)
    at org.eclipse.wst.validation.internal.ValBuilderJob.fullBuild(ValBuilderJob.java:219)
    at org.eclipse.wst.validation.internal.ValBuilderJob.run(ValBuilderJob.java:178)
    at org.eclipse.wst.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:126)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    !ENTRY org.eclipse.wst.jsdt.web.core 4 4 2012-02-15 20:38:30.855
    !MESSAGE java.lang.NullPointerException
    !STACK 1
    JavaScript Model Exception: java.lang.NullPointerException
    at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:314)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:272)
    at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:242)
    at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1086)
    at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
    at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
    at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
    at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1221)
    at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:552)
    at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:180)
    at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:346)
    at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:367)
    at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1159)
    at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:737)
    at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:697)
    at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:843)
    at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:701)
    at org.eclipse.wst.validation.internal.ValBuilderJob$Visitor.visit(ValBuilderJob.java:301)
    at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:106)
    at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:65)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:75)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:104)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:88)
    at org.eclipse.wst.validation.internal.ValBuilderJob.fullBuild(ValBuilderJob.java:219)
    at org.eclipse.wst.validation.internal.ValBuilderJob.run(ValBuilderJob.java:178)
    at org.eclipse.wst.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:126)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: java.lang.NullPointerException
    at org.eclipse.wst.jsdt.internal.compiler.ast.EqualExpression.analyseCode(EqualExpression.java:100)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ReturnStatement.analyseCode(ReturnStatement.java:43)
    at org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration.analyseCode(CompilationUnitDeclaration.java:155)
    at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:675)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:274)
    … 36 more
    Caused by: java.lang.NullPointerException
    at org.eclipse.wst.jsdt.internal.compiler.ast.EqualExpression.analyseCode(EqualExpression.java:100)
    at org.eclipse.wst.jsdt.internal.compiler.ast.ReturnStatement.analyseCode(ReturnStatement.java:43)
    at org.eclipse.wst.jsdt.internal.compiler.ast.CompilationUnitDeclaration.analyseCode(CompilationUnitDeclaration.java:155)
    at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:675)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:274)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:272)
    at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:242)
    at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1086)
    at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
    at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
    at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
    at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1244)
    at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1221)
    at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:552)
    at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:180)
    at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:346)
    at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:367)
    at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1159)
    at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:737)
    at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:697)
    at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:843)
    at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:701)
    at org.eclipse.wst.validation.internal.ValBuilderJob$Visitor.visit(ValBuilderJob.java:301)
    at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:106)
    at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:65)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
    at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:75)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:104)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:88)
    at org.eclipse.wst.validation.internal.ValBuilderJob.fullBuild(ValBuilderJob.java:219)
    at org.eclipse.wst.validation.internal.ValBuilderJob.run(ValBuilderJob.java:178)
    at org.eclipse.wst.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:126)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2012-02-15 20:38:30.856

    #323517 Reply

    support-swapna
    Moderator

    Sampath,

    Apologies for the delay. Thank you for the details. I have escalated it to a dev team member. They will get back to you.

    Sorry for the inconvenience caused.

    #323557 Reply

    support-tony
    Keymaster

    sampath,

    I couldn’t replicate your problem here. A few questions and suggestions:

    1. Could you please let us know your operating system (including version/release) and which editor you are using to edit the file?
    2. Try opening your file with a different editor. The MyEclipse JSP Editor, the MyEclipse Visual JSP Designer, the MyEclipse Visual XHTML Designer and the MyEclipse Visual JSF Designer should all be able to open the file and provide content assist and highlighting.
    3. Please also let us know what third party plug-ins you have installed as there might be some conflict somewhere.
    4. If possible, try to create a simple file that has this behavior and attach it with your post.
    #323618 Reply

    1. My default Editor is MyEclipse JSP Editor. Os details: Ubuntu 11.10, Linux 3.0.0-16-server(intial post was on Fedora 15, but now i am using Ubuntu 11.10. Both have this problem).
    2. I tried with all editors(MyEclipse JSP Editor, the MyEclipse Visual JSP Designer, the MyEclipse Visual XHTML Designer and the MyEclipse Visual JSF Designer). All gradually increase memory, upto max memory i set in the ini file.
    3. I have Google Plugin for Eclipse 2.5.1.v201201120043-rel-r37, JAutodoc 1.9.0, Log4E 1.3.3 and Subclipse 1.6.18. (After remove Google Plugin also i tried, but not fixed).

    MyEclipse
    Version: 10.0
    Build id: 10.0-20111028

    Attachments:
    You must be logged in to view attached files.
    #323624 Reply

    support-tony
    Keymaster

    sampath,

    Thanks for the files and information. I will try to replicate and get back to you.

    #323664 Reply

    support-tony
    Keymaster

    sampath,

    I couldn’t replicate your problem. I ran MyEclipse on Ubuntu 11.10 and had no problem editing the jsp file you sent. I tried installing each plug-in, in turn, but it had no effect. I tried altering my ini file to the settings you gave but it didn’t affect the editor.

    If you have a lot of javascript in your workspace, please try altering the javascript content assist setting (MyEclipse->Preferences->MyEclipse->Files and Editors->Javascript. Try Basic Mode and see if that helps.

    Does the memory used shoot up rapidly, after starting an editor on MyJsp.jsp, or does it slowly rise, never dropping, until you get a memory error? I could see the memory rising as I moved around in the file but the garbage collector eventually kicked in and the memory dropped back.

    The error in the log file, about subclipse, doesn’t seem to be related but I noticed that when I added the subclipse plug-in, I got a message on restart about a known bug with the JavaHL library that can cause Eclipse to crash. However, it’s not clear that you even installed JavaHL, when you installed subclipse, so I don’t think this is a problem. To install related software that was missed on the initial install, right click on the plug-in in the My Software panel of the Software tab of the MyEclipse Configuration Center and select view details. Related software can be added from there. It’s recommended to add the SVNKit connector and use that instead of JavaHL (this can be switched in the SVN preferences).

    Please let us know if any of this helps and sorry you are continuing to see this problem.

    #323672 Reply

    Tony,
    Thanks for your response.

    After starting an editor on MyJsp.jsp, memory raises quickly, until you get a memory error or occupy full allocated memory, after few minutes, memory drops but again raises quickly.

    I altered(Basic Mode/Trun Off) the javascript content assist setting. Now, when i open jsp, no problem. But when i look for assist, myeclipse takes 100% CPU immediately. After one or two minutes CPU drops.

    I also attached the new log file, which is after altered the javascript content assist setting.

    Attachments:
    You must be logged in to view attached files.
    #323676 Reply

    support-tony
    Keymaster

    sampath,

    The errors in the log file appear to be from JAutodoc, though I can’t tell for certain. There don’t seem to be any other errors of interest.

    I’m not sure about the 100% CPU for a couple of minutes. Is that a problem for your use of MyEclipse? I realise that not having full function on the content assist may be a problem for you but are you able to do your work now?

    Please refer to this FAQ for some background information: Memory & Performance Issues. Note that your memory settings are already above what that FAQ recommends and so should not need altering.

    #323758 Reply

    It works fine for me now. But still i dont know the solution. Here is what i have done.

    As you mention in the FAQ, i excluded WebRoot path by setting */(i though it will take all files and folder under WebRoot) in the Project Properties > MyEclipse > JavaScript > Include Path and the Source tab and JS Analysis mode also Turned Off.

    Now there is no CPU and Memory problem. After some time i revert back all my JS configuration changes(Truned Off to Passive Mode & remove */ from exclude path), then everything works fine(i can get JS assistance from MyEclipse).

    I delayed for response, becaused I want to make sure, this is truly working fine for me.

    Still i dont know, what is the exact solution. But this helped me..

    Thanks

    #323760 Reply

    support-tony
    Keymaster

    sampath,

    Thanks for getting back to us and I’m glad it’s all working fine for you now.

    Yes, it is strange that making those changes and later reverting them results in good performance. I’ve seen one other occurrence of something like this (though with different changes from the ones you made) that also improved performance but it wasn’t always guaranteed to work. I can only think that changing the settings the way you did has somehow removed a resource hog that perhaps emerged as the result of many setting changes and workspace activity, over time, and that reverting the settings wasn’t enough to bring it back. This may mean your problem could return but I hope not.

    If the performance/memory problem comes back please let us know, even if you fix it the same way.

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: MyEclipse10 freezed, when i open file has java script

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