Tuesday, 15 March 2016

Increase Java and Eclipse Heap memory

In Eclipse open eclipse.ini and edit as "-vmargs -Xms512m -Xmx 1024m"

To check existing JVM memory : "java -XX:+PrintFlagsFinal -version | findstr /i"HeapSize PermSize ThreadStackSize" works only on windows


if you have 32 bit java, you can't extend your physical memory to more than 4 GB.

You can run 32 bit JVM as 64 bit y using "-d64"

Eg; java -d64 -Xms1024m -Xmx4096m yourjavapgm

No comments:

Post a Comment