facebook

Java development in MyEclipse 8.5 *painfully* slow

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #314039 Reply

    Hi,

    We use MyEclipse 8.5 to develop one very large Enterprise application, that consists of multiple jars, and a single war.

    Any kind of editing (Java, jsp, jsf) is painfully slow, plus my editor needs to be restarted at least once a day because it runs out of memory.

    My work using MyEclipse runs on my “fast” machine. In contrast, I have a slower machine which I use to develop C# with Visual Studio, and it’s screamingly fast by comparison. If anything, I’d expect the IDE on my faster machine to outperform one on my slower machine, but it’s not.

    I’m happy to provide more information, but I need some questions to guide me so I know what information is helpful.

    Jeff

    #314040 Reply

    P.S. An example of what I mean by painfully slow. I’ll open a Java editor and start scrolling down and about 2/3 down the java document, MyEclipse will just freeze for about 10-15 seconds before continuing to scroll.

    #314063 Reply

    support-swapna
    Moderator

    JeffreyGetzin,

    I apologize for the inconvenience caused.

    1. Can you copy and paste your installation details? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details.

    2. You mentioned that it is a very large enterprise application project.Can you tell me the size of it in your workspace?

    3. For the JSPs If you are using the Visual JSP Designer, can you use the source only editor and see if that gives you a better editing experience? To use source only editor, bring up the context menu on the file and choose Open With > MyEclipse JSP Editor.

    4. Here is the suggested memory settings for the IDE. Can you check if applying these settings make it any better?
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.html

    5. Additionally, can you clear your error log file (you can do this in the error view) and observe if any errors are logged as you see slow downs in typing?

    6. Is this file particularly large? For us to get a rough idea, how many lines of code are in the file? Do you experience this issue with other smaller Java, jsp, jsf files too?

    #314068 Reply

    Hi Swapna,

    1. Here are the installation details:

    *** Date:
    Monday, January 31, 2011 4:40:22 AM EST

    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 8.6.1
    Build id: 8.6.1-20101117

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 8.6.1
    Build id: 8.6.1-20101117

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\Genuitec\MyEclipse 8.5\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Program Files\Genuitec\MyEclipse 8.5\../Common/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519\eclipse_1206.dll
    -startup
    C:\Program Files\Genuitec\MyEclipse 8.5\../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
    -install
    C:/Program Files/Genuitec/MyEclipse 8.5
    -configuration
    configuration
    -vm
    C:/Program Files/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll

    2. There are probably about 5,000 files, give or take. These are primarily java and jsp files, but there are some resources, Hibernate config files, jsf files, and so on.

    3. This issue occurs even when I’m not editing JSP files. For instance, it happens when I’m editing plain Java files.

    4, 5 I’ll give those a try when I get into the office later today.

    6. I’ll try to keep an eye on how big the files are and get back to you.

    Thanks for the help!

    Jeff

    #314081 Reply

    5. I’m seeing the following errors in my log:

    Errors running builder ‘DeploymentBuilder’ on project ‘<project-name>’.

    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.DeploymentUtil.getOutputFolder(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebDeployment.Ä‚(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebDeployment.Ä‚(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebDeployment.classChanged(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebClassesDeltaVisitor.visit(Unknown Source)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:55)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.webProjectBuildDelta(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.webProjectBuildDelta(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.buildDelta(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.build(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Problems occurred when invoking code from plug-in: “org.eclipse.core.resources”.

    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.DeploymentUtil.getOutputFolder(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebDeployment.Ä‚(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebDeployment.Ä‚(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebDeployment.classChanged(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebClassesDeltaVisitor.visit(Unknown Source)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:55)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.webProjectBuildDelta(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.webProjectBuildDelta(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.buildDelta(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.build(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    #314082 Reply

    Still running slowly when editing a Java file with those memory parameter changes.

    An example file, the one I’m editing at the moment, is 4,220 lines, which is atypically large.

    #314106 Reply

    FYI, still happening with MyEclipse 9.

    #314134 Reply

    support-swapna
    Moderator

    JeffreyGetzin,

    I have escalated it to a dev team member.
    Sorry for inconvenience caused.

    #314514 Reply

    Have not heard a peep on this issue since I posted this thread. Has there been any progress at all?

    #314565 Reply

    Brian Fernandes
    Moderator

    Jeffrey, we’d like to handle this issue along with your other reported. Please see: https://www.genuitec.com/forums/topic/building-workspace-has-encoutner-a-problem/#post-314564

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Java development in MyEclipse 8.5 *painfully* slow

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