facebook

Which memory settings to use with JBOSS, JDK, MyEclipse

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #318972 Reply

    Robert C. Pruski
    Participant

    Hello,
    I am having an issue with the developers getting the following error:
    MyEclipse has detected that less than 5% of the 472MB of Tenured Gen(Heap Memory) space memory…They are getting this error often.
    Some info:
    The recommended memory settings are already in the myeclipse.ini file.

    1st setting in myeclipse.ini:

    D:/Genuitec/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client/jvm.dll
    -vmargs
    -Xmx512m
    -XX:MaxPermSize=256m
    -XX:ReservedCodeCacheSize=64m

    The following settings are in the JBOSS JDK and in the run.conf.bat.

    2nd setting in JBOSS JDK settings in MyEclipse
    -Xms2048m -Xmx2048m -XX:MaxNewSize=512m -XX:NewSize=512m
    -XX:SurvivorRatio=6 -XX:MaxPermSize=512m
    3rd setting in run.conf.bat in the JBOSS/bin folder
    JAVA_OPTS=-Xms2g -Xmx2g -XX:MaxNewSize=512m -XX:NewSize=512m -XX:SurvivorRatio=6 -XX:MaxPermSize=1024m

    So my questions:
    We actually use JDk 6u17 should I replace the jvm with the one on the jdk folder?

    Any idea where I would actually set the JAVA settings? JBOSS JDK or run.conf.bat?

    Thanks for you help

    #319011

    support-joy
    Member

    esc20,

    Sorry to hear your developers are running into this issue. Could you answer below queries –
    1. What is the build-id and version-id? Open MyEclipse IDE, from menu options click on Help > About MyEclipse Enterprise Workbench and copy version-id and build-id here
    2. From menu options click on MyEclipse > Installation Summary > Installation Details and copy and paste the same here
    3. What are the types of projects you work on? What are the editors opened?
    4. Please clear .log file located at [your workspace dir]/.metadata/.log, replicate the issue and attach the .log

    I would recommend the following –
    1. Increase the -Xmx vargs argument in myeclipse.ini and restart the workbench
    2. Go through the features list here – Help > MyEclipse Configuration Center > Dashboard tab and unselect the features you do not require by unchecking the checkbox preceding the same and follow the wizard. When prompted please choose to restart the IDE

    Let me know how this works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Which memory settings to use with JBOSS, JDK, MyEclipse

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