Tuesday, March 29, 2011

Installed JRE memory settings in Eclipse

When an application requires more memory than allocated, you may modify the memory settings of the installed JRE


Window - Preferences - Java - Installed JREs - target JRE - Edit 

Depending on how much physical memory your machine has, you may set the following arguments in the Default VM Arguments field:




-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m