JVM terminated. Exit code=-1 – Mea Cup O' Jo
Skip to content


JVM terminated. Exit code=-1

This morning, walking in with a cup o’jo in my hand I started my Eclipse and was greeted by the following
Eclipse error

What a %$%#!!!?? I didn’t install any plugins and never had this problem before? Hmmmm… Time to Google! Lo and behold, 5 minutes later I guessed that I was overly generous giving Eclipse process 1024M of max memory on the machine that only has 2Gb.
Opened eclipse.ini in the root of my eclipse installation and changed -Xmx1024 to -Xmx512. Restarted the Eclipse and got back my project.

Case closed!

Posted in Web stuff.


7 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. kartal says

    Hi

    that was very helpful thank you so much, I had the exact same problem.

    • marina says

      Hi

      that was very helpful thank you so much, I had the exact same problem.

  2. Madhuri says

    Awesome, tried several other suggestions online none worked except for this one ! Thanks a lot !

  3. divz says

    thankyou it resolved my issue…

  4. wasp says

    Hi, I am having the same issue and I know I can resolve it by leaving the memory at 512M, however I need more than that as my eclipse runs out of memory with only 512M.

    Any sugegstions on how to allow the increase? I have 4 GB on my computer.

    • droidin says

      512 is not a magic number. You can try to increase it until you find your treshhold

  5. wasp says

    To clarify, setting it to anything higher than 512M gives this error… thanks.



Some HTML is OK

or, reply to this post via trackback.