Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

TIP JOSIF Main Page | Getting Started | Setting Up Environment

...

Note many developers report needing to increase Eclipse's working memory when working on large projects. This can be done by modifying the
<eclispe.home>/eclipse.ini file to increase -Xmx and -Xmx and -XX:MaxPermSize from the defaults. Exact values appear to be more of an art than a science however the following is a starting point. (Any further insights welcome).

eclipse.ini:

Code Block

-startup<BR>
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar<BR>
--launcher.library<BR>
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519<BR>
-product<BR>
org.eclipse.epp.package.jee.product<BR>
--launcher.XXMaxPermSize<BR>
256M<BR>
-showsplash<BR>
org.eclipse.platform<BR>
--launcher.XXMaxPermSize<BR>
256m<BR>
-vmargs<BR>
-Dosgi.requiredJavaVersion=1.5<BR>
-Xms128m<BR>
-Xmx512m<BR>
-XX:MaxPermSize=256m<BR>

REVISED NOTE - you need to increase the memory from the above settings;

Code Block

-vmargs<BR>
-XX:MaxPermSize=500m<BR>
-Dfile.encoding=UTF-8<BR>
-Dosgi.requiredJavaVersion=1.5<BR>
-Xms500m<BR>
-Xmx768m<BR>

...