Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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:

--launcher.XXMaxPermSize
256M
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms128m
-Xmx768m

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

Thanks!

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

http://stackoverflow.com/questions/142357/what-are-the-best-jvm-settings-for-eclipse

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
1  
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .