Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

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.