my dog learned polymorphism*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse Heap Size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse Heap Size" Watch "Eclipse Heap Size" New topic

Eclipse Heap Size

Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 477
Hi Everyone,

Few days ago i had problems with my Eclipse running out of memory, and so i increased it but somehow the heap size shown at the bottom of Eclipse still remains the same. My current eclipse.ini file is something like this:

I increased the heap size to 768MB and still the heap size is shown as 495MB. Could you tell me how to increase the heap size of Eclipse permanently?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019

This should be the JVM parameter that sets the maximum (mx) heap size.

Customer surveys are for companies who didn't pay proper attention to begin with.
Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 477
Oh.. ok! I changed it to 1024MB and the 768MB to 1024MB and Eclipse failed to start. Gave an exception of Exit Code 1 or something. So i changed it to lower values.
It is sorta covered in the JavaRanch Style Guide.
subject: Eclipse Heap Size