facebook

MyEclipse hangs with javaw consuming high CPU

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #328537 Reply

    Chris Cranford
    Participant

    Every few minutes I am noticing after upgrading to MyEclipse 10.5 that when I am typing a line in either AspectJ files or Java files that when I hit “.” in order for intellisense to pop up for object that the entire IDE freezes for anywhere between 120-240 seconds. I cannot determine any reason for this.

    #328561 Reply

    support-swapna
    Moderator

    ccranford,

    Sorry that you are seeing this issue.

    Can you give us some more information ?

    1. Can you copy paste the Installation Details from MyEclipse > Installation Summary > Installation Details ?

    2. Did you install any third party plugins ? If yes then please list them.

    3. Is your workspace large ? How many projects are there in this workspace ?

    4. How big is your project ? Does it have a buildpath which includes many jars ?

    5. Here is an FAQ on memory issues. Can you please check if increasing the memory settings help? :
    https://www.genuitec.com/forums/topic/troubleshooting-memory-amp-performance-issues/

    6. Can you please switch to a new workspace and check if the issue exists ? If yes then please copy paste the contents of the .log file which is located at <workspace dir>/.metadata/.log for us to investigate further.

    Let us know how it works.

    #328737 Reply

    Chris Cranford
    Participant

    1. Can you copy paste the Installation Details from MyEclipse > Installation Summary > Installation Details ?

    *** Date:
    Friday, August 3, 2012 12:17:07 PM CDT

    *** System properties:
    OS=WindowsVista
    OS version=6.1.0
    OS arch=amd64
    Profile arch=x86_64
    Window system=win32
    Java version=1.6.0_13
    Workspace=file:/C:/SETECH/workspaces/
    VM Args=-Xmx1024m
    -XX:MaxPermSize=512m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -jar
    C:\SETECH\MYECLI~1\MYECLI~2\../Common/plugins/ORB7B5~1.JAR

    *** Subscription information
    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20121112
    Number of users: 1

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 10.5
    Build id: 10.5-20120615

    Blueprint: MyEclipse 10

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86_64
    -showsplash
    -launcher
    C:\SETECH\MyEclipse\MyEclipse 10\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\SETECH\MyEclipse\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_4.2.0.v201201111650\eclipse_4201.dll
    -startup
    C:\SETECH\MyEclipse\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -exitdata
    1f18_5c
    -install
    C:\SETECH\MyEclipse\MyEclipse 10
    -configuration
    C:\SETECH\MyEclipse\MyEclipse 10\configuration
    -vm
    C:\SETECH\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe

    2. Did you install any third party plugins ? If yes then please list them.
    AspectJ Development Tools (AJDT) (4 related)

    3. Is your workspace large ? How many projects are there in this workspace ?
    Workspace only contains 2 projects.
    Project #1: 216 packages, 889 classes, 122454 LoC
    Project #2: 0 packages, 3 classes, 310 LoC

    4. How big is your project ? Does it have a buildpath which includes many jars ?
    Yes. We have numerous commons libraries, hibernate, spring, struts2, spring security, tiles, saxon, and some pdf/image generator libraries. There is probably somewhere between 30-50 jars packaged with the app.

    5. Here is an FAQ on memory issues. Can you please check if increasing the memory settings help?
    I already have -Xmx1024m set along with -XX:MaxPermSize=512m in the INI file.

    6. Can you please switch to a new workspace and check if the issue exists ? If yes then please copy paste the contents of the .log file which is located at <workspace dir>/.metadata/.log for us to investigate further.
    Do you want me to check my source out of CVS back into a new Workspace and see if it persists?

    #328799 Reply

    support-swapna
    Moderator

    ccranford,

    Thank you for the details.

    1. Can you please switch to a new workspace, create a sample project with a very few jars in the build path and check if the issue persists ? This is to rule out any issues with the large number of jars in the build path of your projects.

    2. Is there *any* way to trim down the build path, or you really need all the jars to avoid compile-time errors ? You can split them into User Libraries and see if it helps.

    Let us know how it works for you.

    #328804 Reply

    support-joy
    Member

    ccranford,

    Adding to Swapna’s reply, please provide answer to below queries –
    1. Open MyEclipse IDE, from menu options click on Window > Preferences > Java > Editor > Content Assist > Advanced and attach a screenshot. This would help me get a visual of the default proposals selected by you.
    2. Next – uncheck all the default proposals except “Java Proposals” and verify if the problem disappears?
    3. Enable the proposals one by one and verify if there are any proposals which is causing this issue. If yes, please list that proposal here and attach a screenshot of the same to help me get a visual
    4. Prior to ME 10.5, what version of MyEclipse were you using?

    Let me know how this works for you?

    #328807 Reply

    Chris Cranford
    Participant

    Swapna –

    Thanks for the quick reply.

    @support-swapna wrote:

    1. Can you please switch to a new workspace, create a sample project with a very few jars in the build path and check if the issue persists ? This is to rule out any issues with the large number of jars in the build path of your projects.

    Unfortunately I am not in a position to test this at the present moment with hard deadlines. As soon as time permits I’ll create a test example and see whether this persists with a smaller build path.

    2. Is there *any* way to trim down the build path, or you really need all the jars to avoid compile-time errors ? You can split them into User Libraries and see if it helps.

    Splitting them into user libraries presents issues when checked out from CVS from my experience. The JARs are part of the webapp’s CVS respository along with the project files. User libraries contain machine specific path information which is often not the same across multiple developer machines.

    #328844 Reply

    support-swapna
    Moderator

    ccranford,

    Can you please provide answers to support-joy’s reply to help us investigate further?

    #328855 Reply

    Chris Cranford
    Participant

    1. Open MyEclipse IDE, from menu options click on Window > Preferences > Java > Editor > Content Assist > Advanced and attach a screenshot. This would help me get a visual of the default proposals selected by you.

    See attachment.

    2. Next – uncheck all the default proposals except “Java Proposals” and verify if the problem disappears?

    I’m curious why Java proposals weren’t enabled in the attachment. These proposals were the ones toggled by default to my knowledge. This project has been maintained in CVS since roughly MyEclipse 7. Could this be the reason?

    3. Enable the proposals one by one and verify if there are any proposals which is causing this issue. If yes, please list that proposal here and attach a screenshot of the same to help me get a visual

    I will do these tests and get back to you.

    4. Prior to ME 10.5, what version of MyEclipse were you using?

    Prior to 10.5, I was using 10.1 and then 9 before that. If memory serves me correctly I had 10.1 installed alongside 9 for a few weeks. I had yet to start using 10.1 and kept working under 9. I then migrated to 10.1 for a few days and noticed 10.5 had been released. Uninstalled 10.1 and installed 10.5.

    The same workspace has been used since at least ME9 if not prior back to ME8.

    Attachments:
    You must be logged in to view attached files.
Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: MyEclipse hangs with javaw consuming high CPU

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