facebook

Out of memory exception introduced by myeclipse [Closed]

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

    pdelahun
    Member

    Hi

    I have eclipse v3 installed on my machine. When i install the myeclipse plug-in it seems to work ok.

    However if i try to do any standard eclipse class renaming refactoring the whole eclipse environment hangs during the process and i get finally get an out of memory exception.

    If i uninstall myeclipse plugin then it works fine. This leads me to believe myeclipse plugin is introducing a memory leak somewhere.

    Any ideas ??????

    #214405 Reply

    snpe
    Member

    set jsp validation to off (window -pref – myeclipse – validation)

    #214411 Reply

    Riyad Kalla
    Member

    This depends on the Build ID of MyEclipse (Window > Prefs > MyEclipse).

    If you are running 3.8.1+ then the major memory leaks were fixed, but we are still doing a heck of alot of tuning.

    Also unless you specified memory arguments for Eclipse, you will likely run out of memory during a normal heavy coding session, especially if you include MyEclipse which is ~130 plugins. We would encourage you to add something like:
    -vmargs -Xmx256m

    to your shortcut used to start Eclipse.

    #216424 Reply

    Erez
    Member

    I am facing the same out of memory problems when refactoring/renaming a method.

    Erez

    #216425 Reply

    Erez
    Member

    Each time I put -vmargs -Xmx256MB in the shortcut and run it, i get an error that says “could not create the java virtual machine”.
    If I remove the “-vmargs” part I get it to start.

    What is the -vmargs and what am I doing wrong? any ideas?

    Erez

    #216426 Reply

    Erez
    Member

    The shortcut link I have is
    “C:\Apps\eclipse\eclipse.exe -vmargs -Xmx256MB”

    Erez

    #216427 Reply

    Riyad Kalla
    Member

    Erez,
    the “MB” part needs to be “m”, not “MB”

    #216428 Reply

    Erez
    Member

    Ok, removed the 256MB to 256M and it works,
    the little things in life 🙂

    Erez

    #216432 Reply

    Riyad Kalla
    Member

    Glad its working.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Out of memory exception introduced by myeclipse [Closed]

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