开发者

How to set up Eclipse to run with as much RAM as possible? [duplicate]

开发者 https://www.devze.com 2023-01-09 19:29 出处:网络
This question already has answers here: Closed 12 years ago. Possible Duplicate: Is there a maximum number you can set Xmx to when trying to increase jvm memory?
This question already has answers here: Closed 12 years ago.

Possible Duplicate:

Is there a maximum number you can set Xmx to when trying to increase jvm memory?

On my x64 Windows with 8GB physical RAM I'd like to increase performance of my Flash Builder (an IDE built on top of Eclipse). This is usually开发者_开发知识库 done by adding something like this to eclipse.ini:

-Xmx1024m

I'd like to use something like 4096 as my machine has enough RAM but when I do so, the Eclipse won't start with this error message:

JVM terminated. Exit code=-1

Do I need to set up some other startup options? Is Eclipse capable of running with that much memory?


Are you running the 32bit Sun (Oracle) JVM? If so, then you cannot set xmx above 2GB.

0

精彩评论

暂无评论...
验证码 换一张
取 消