Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a lot of memory available on my computer and I was wondering if I can give my Eclipse - which I use heavily - more memory.

How much is enough? Respectively how much brings any additional effect?

I am talking about editing the eclipse.ini file:


Should I simply double (quadruple) all the numbers? Or just the Xms and Xmx? I don't know what is what there.


share|improve this question
up vote 3 down vote accepted

You can experiment with different values for -Xms and -Xmx start with -Xms1024m and -Xmx2048m and see if that helps.

Another thing you can try is different garbage collection strategies and a whole lot of other jvm settings. I suggest visiting this question over on Stack Overflow

share|improve this answer

Doing a search on google provided lots of ways to do this.

How do i allocate more memory to eclipse
Tips and Tricks - Allocate more memory for eclipse

share|improve this answer
Yes but all the info I found is from 2005-2007 and none of it deals with the upper limit. They just didn't have 8 gigs of RAM back in those days. – daniel.sedlacek Jun 17 '11 at 10:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.