facebook

Performance hit

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #289237 Reply

    Andres
    Member

    I have been using myeclipse for a couple of years now, and It just seems getting slower and slower.

    I hava a dual core 4 gb ram pc, and still is very slow.

    The refactoring is slow.

    everytime I modify a jsp It will rebuild the whole project!!!
    I had to take out the “Build automatically” option because of the slowness

    I have myeclipse 6.5.1 GA

    What can I do to improve the performance? what can i disable?

    #289262 Reply

    Loyal Water
    Member

    You can go to Windows > Preferences > General > Capabilities > Advanced and disable the capabilities that you are not using. That would enhance the performance of the IDE.

    #289285 Reply

    Andres
    Member

    I did that, but is still slow.

    The building process is vry slow.
    everytime I want to refactor a class, takes couple of minutes.

    #289330 Reply

    Loyal Water
    Member

    anrange,
    Do you have the memory arguments set in the eclipse.ini file ?

    How many projects do you have in your workspace? If you switch to a new workspace and try working with a project, does the performance improve?

    #289343 Reply

    Andres
    Member

    My eclipse.ini contents:
    -clean
    -showsplash
    com.genuitec.myeclipse.product.ide
    –launcher.XXMaxPermSize
    256m
    -vmargs
    -Xms256m
    -Xmx512m
    -Duser.language=en
    -XX:PermSize=128M
    -XX:MaxPermSize=256M

    I have 4 projects open.
    I used to have 6 open, I just closed two, and it has improved a little.
    I have to have this 4 projects open since, I am working on them all the time.

    It takes a couple of minutes to startup, eventhough I took out almost all the plugins in the startup
    I left only tomcat 4,5 and 6

    #289386 Reply

    Loyal Water
    Member

    Have you tried cleaning your workspace using the -clean command like arg? You can try that out as well in case you haven’t tried it yet.
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    Did the performance improve in the new workspace?

    #289443 Reply

    cmcneil
    Member

    6.5 is an order of magnitude slower than 6.0 to start and to do any build with. Almost unusable.

    #289452 Reply

    Loyal Water
    Member

    cmcneil,
    How many projects do you have in your workspace? Do you have the memory arguments in your eclipse.ini file? Have you tried using a new workspace?

    #289600 Reply

    Andres
    Member

    I think the issue in my case has to do with “LINK SOURCES”
    I had 2 projects sharing the same source code, so I will link one of the projects to the other source code.

    I found out that every time I will do a minimal change in the code, it will rebuild ALL the project.

    I had to duplicate the code and have two working copies with separate source code to alleviate some of the performance hit.

    Is this a known bug?

    #289624 Reply

    Riyad Kalla
    Member

    anrange,

    Is this common source code just a Java Library or something? If the two parent projects are web projects, you can make that single Java Project a dependency of the WEb Projects and MyEclipse will handle deployment them and resolving dependencies from them, this relationship is more typical.

    I’m not that familiar with the performance imapct on linked sources, although a *single* change causing an entire workspace rebuild sounds very unlikely or something is critically wrong with the configuration.

    Can you give us a bit more insight into how you have things setup dependency wise, which projects there are, etc.?

    #290896 Reply

    C.A.Garcia
    Member

    Hi,

    I have the same problem. I updated to MyEclipse 6.5 (at the same time I started to use CVS) and suddenly the performance drop significantly. I cleanup my workspace taking projects not related with the one I am developing to a new workspace. Did not work.
    I stopped CVSNT server. Did not work.
    I tried to remove non required validators. Did not work.
    I updated to MyEclipse 6.6. Did not work.

    Now I am thinking seriously to go back to 6.0.1.

    My project is web project that references a java project. I do also have a link to this project source code.

    I have also found that it is specially slow with xml files. Just to open the web.xml file takes about one minute when it has always been very fast. I also think that the project is faster when I just start to work than for example in an hour. One-two hour is the average time I have to reset the tool

    I am making additional test so I will post again if I find someting interesting.

    #290901 Reply

    C.A.Garcia
    Member

    additional information:

    I have run eclipse.exe -clean and it started to work pretty well till I opened the web.xml file (it doesn’t happen when I open any other xml file).

    Only after I open this file, the building workspace process is very slow and even sometimes when I want to debug is not possible.

    I use an external Tomcat 5.5 with JDK 1.6.0_05

    #290934 Reply

    Riyad Kalla
    Member

    catienza,

    Very strange, can you grab your MyEclipse > Installation Summary > Installation Details info and post it here for me?

    Also, what else is running when you do this? MyEclipse can require a bit of memory and if you have a few other large-running processes, like Firefox or MS Office, what is happening is MyEclipse is acting like the “straw that broke the camel’s back”, in that it’s forcing your OS into swapping things out to disk, which is roughly 500x slower than memory. So it might not be MyEclipse that’s the problem, just that it’s exacerbating the low-memory issue.

    #290942 Reply

    C.A.Garcia
    Member

    I have been checking my memory and there is no problem with it. I have 3 GB of RAM. In any case if it is a memory problem, why is only presented the problem when I open the web.xml file and not other xml or different files?

    I have made more test. I insist in my case is related with the web.xml file. In one case when I opened this file the program just froze for a couple of minutes with message in the bottom saying: loading file …. -app-2_4.xsd. Couldn’t it be a compatibility problem between this version of MyEclipse and Tomcat. I see that you it recommend using JDK 1.6_04 or higher but this is my case.From then on it is just too slow and I have to restart.

    Besides I have seen that in the error log there are a bunch of messages like this, most of them related with maven:

    ENTRY org.eclipse.osgi 2 1 2008-11-13 12:58:59.234
    !MESSAGE NLS unused message: wizard.project.page.project.validator.invalidLocation in: org.maven.ide.eclipse.messages

    !ENTRY org.eclipse.osgi 2 1 2008-11-13 12:58:59.234
    !MESSAGE NLS unused message: wizard.project.page.project.validator.projectExists in: org.maven.ide.eclipse.messages

    !ENTRY org.eclipse.osgi 2 1 2008-11-13 12:58:59.234
    !MESSAGE NLS unused message: wizard.project.page.project.validator.projectLocation in: org.maven.ide.eclipse.messages

    !ENTRY org.eclipse.osgi 2 1 2008-11-13 12:58:59.234
    !MESSAGE NLS unused message: wizard.project.page.project.validator.projectName in: org.maven.ide.eclipse.messages

    !ENTRY org.eclipse.osgi 2 1 2008-11-13 12:58:59.234
    !MESSAGE NLS unused message: wizard.project.title in: org.maven.ide.eclipse.messages

    !ENTRY com.genuitec.eclipse.core.common 1 0 2008-11-13 12:59:04.812
    !MESSAGE Unable to find MEContainer jar: C:/Archivos de programa/MyEclipse 6.0/myeclipse/eclipse/plugins/com.genuitec.org.hibernate.eclipse_6.0.0.zmyeclipse60020070820/lib/tools/hibernate-tools.jar

    !ENTRY org.eclipse.osgi 2 1 2008-11-13 12:59:05.875
    !MESSAGE NLS missing message: AddJSTLLibsWizardPage_label_1_0 in: com.genuitec.eclipse.j2eedt.core.messages

    !ENTRY org.eclipse.osgi 2 1 2008-11-13 12:59:05.875
    !MESSAGE NLS missing message: AddJSTLLibsWizardPage_label_1_1 in: com.genuitec.eclipse.j2eedt.core.messages

    !ENTRY org.eclipse.osgi 2 1 2008-11-13 12:59:05.875
    !MESSAGE NLS missing message: AddJSTLLibsWizardPage_label_error in: com.genuitec.eclipse.j2eedt.core.messages

    !ENTRY org.eclipse.wst.internet.cache 1 0 2008-11-13 12:59:08.906
    !MESSAGE wtp.autotest.noninteractive is set. Licenses dialogs will not be displayed.

    I am not sure what is installation summary so I will paste the installation history:

    Nov 11, 2008 2:35:07 PM Date / TimeTargetActionStatus Nov 11, 2008 2:37:32 PM file:/C:/Archivos de programa/MyEclipse 6.6/eclipse/ site-install success Nov 11, 2008 2:37:32 PM file:/C:/Archivos de programa/MyEclipse 6.6/myeclipse/eclipse/ site-install success Nov 11, 2008 5:22:10 PM Date / TimeTargetActionStatus Nov 11, 2008 5:11:21 PM com.genuitec.myeclipse.reports_6.6.0.zmyeclipse660200810 feature-install success Nov 11, 2008 5:19:24 PM com.genuitec.myeclipse.reports_6.6.0.zmyeclipse660200810 feature-enable success Nov 11, 2008 5:19:24 PM com.genuitec.myeclipse.matisse_6.6.0.zmyeclipse660200810 feature-install success Nov 11, 2008 5:20:22 PM com.genuitec.myeclipse.matisse_6.6.0.zmyeclipse660200810 feature-enable success Nov 11, 2008 5:20:22 PM com.genuitec.myeclipse.icefaces.feature_6.6.0.zmyeclipse660200810 feature-install success Nov 11, 2008 5:22:10 PM com.genuitec.myeclipse.icefaces.feature_6.6.0.zmyeclipse660200810 feature-enable success

    #290950 Reply

    Riyad Kalla
    Member

    In one case when I opened this file the program just froze for a couple of minutes with message in the bottom saying: loading file …. -app-2_4.xsd. Couldn’t it be a compatibility problem between this version of MyEclipse and Tomcat.

    Ahhh, actually all of this behavior could be a network problem. Are you behind a proxy or an extremely slow network by chance? By default MyEclipse is a very network-enabled IDE, for things like validation and autocomplete it will resolve XSDs and DTDs from the network to process them in the editor.

    I see that you it recommend using JDK 1.6_04 or higher but this is my case.From then on it is just too slow and I have to restart.

    Actually I don’t recommend this at all, I’m not sure what you are referring to, but please stick with running MyEclipse with the 1.5.0_11 JRE we ship with it for now for optimal performance.

Viewing 15 posts - 1 through 15 (of 19 total)
Reply To: Performance hit

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