File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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: 482
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: 17423

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

An IDE is no substitute for an Intelligent Developer.
Somnath Mallick
Ranch Hand

Joined: Mar 04, 2009
Posts: 482
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.
I agree. Here's the link:
subject: Eclipse Heap Size
It's not a secret anymore!