Tuesday, June 24, 2008

Java Memory in Eclipse

1. Navigate to eclipse on your system directory:
MyEclipse 5.5.1 GA\eclipse\eclipse.ini

Example:
-vmargs -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M


2. Java memory can be set as a system variable:

JAVA_OPT: -Xms128m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m -Dfile.encoding=UTF-8 -Dcom.sun.management.jmxremote