facebook

[Closed]myeclipse has detected that less than 5%….

💡
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 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #261714 Reply

    rentao
    Member

    myeclipse has detected that less than 5% of the 64MB of Perm Gen(Non_heap memory) space remains.
    It is strongly recommended that you exit and restart MyEclipse with new virtul machine memory paramters to increase this memory.Failure to do so can result in data loss.
    The recommended Eclipse memory parameters are:
    eclipse.exe -vmargs-Xms128m-Xmx512m-Xmx512m-XX:PermSize=64m-XX:MaxPermSize=128m

    I edit the eclipse.ini,change the parameters but it won’t work –Eclipse cannot run.

    pls help.[/url]

    #261724

    Riyad Kalla
    Member

    The problem can be that you have command line arguments in your shortcut AND command line arguments in your eclipse.ini file, Eclipse will only use one or the other.

    I would suggest editing your shortcut and adding all the arguments. Please note, above when you pasted the command line arguments, you have no spaces between them, I don’t know if that is a typo or not, but you do need spaces between each -X argument.

    #261731

    rentao
    Member

    Oh,Thank you very much.
    It is my fault.
    I first open eclipse.ini with notepad.I did not see the spaces.
    But when i use editpuls the format is obvious.
    Finally the problem is solved.

    #261733

    Riyad Kalla
    Member

    I’m glad to hear it’s better now.

    #263491

    we are getting the same exact problem. And our shortcuts are setup correctly (here is a copy of the batch file we use to startup our eclipse environments – please let me know if you see something wrong).

    
    :INIT
        SETLOCAL
        pushd .\
        set ECLIPSE_DIR=c:\eclipse
        set ECLIPSE=%ECLIPSE_DIR%\eclipse.exe
        set JAVA_HOME="C:\Program Files\Java\jre1.6.0"
        set VM=%JAVA_HOME%\bin\javaw.exe
        set ECLIPSE_ARGS=-nosplash -nolazyregistrycacheloading -showlocation
        set MEM_ARGS=-Xms128m -Xmx512m -XX:PermSize=64M -XX:MaxPermSize=128M
        set VM_ARGS=-Duser.language=en -Dide.gc=true -XX:+UseParallelGC 
    :RUN
        cd %ECLIPSE_DIR%
        start %ECLIPSE% %ECLIPSE_ARGS% -vm %VM% -vmargs %MEM_ARGS% %VM_ARGS%
    :EXIT
        ENDLOCAL
        exit
    

    Greatly appreciated,
    Anthony

    #263577

    Greg
    Member

    Anthony,

    What happens when you change your memory arguments to just include more memory? try…

    -Xmx784M
    #263585

    That seems to do the trick. 🙂 I am not too keen on locking that much memory; but if that is what it takes then so be it. 🙂

    Thank you,
    Anthony

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: [Closed]myeclipse has detected that less than 5%….

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