Max value of Xmx and Xms in Eclipse?
Now my settings for these in the ini file are:
-Xms768M -Xmx1024M
When setting them higher, eclipse doesn't start anymore... Is there a way to increase these values without eclipse crashing?
The maximum values do not depend on Eclipse, it depends on your OS (and obviously on the physical memory available).
You may want to take a look at this question: Max amount of memory per java process in Windows?
I am guessing you are using a 32 bit eclipse with 32 bit JVM. It wont allow heapsize above what you have specified.
Using a 64-bit Eclipse with a 64-bit JVM helps you to start up eclipse with much larger memory. (I am starting with -Xms1024m -Xmx4000m)
Why do you need -Xms768 (small heap must be at least 768...)?
That means any java process (search in eclipse) will start with 768m memory allocated, doesn't that? That is why your eclipse isn't able to start properly.
Try -Xms16 -Xmx2048m, for instance.
链接地址: http://www.djcxy.com/p/16092.html上一篇: 如何删除旧版本的Eclipse插件?
下一篇: Eclipse中Xmx和Xms的最大值?