Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse INI Configuration problem

I am working on a project which is really big and even if I increase the virtual memory, on refreshing the project, Eclipse crashes. The error is java heap space error.

This is the current setup:

-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx512m

If I increase it any more, Eclipse won't start.

like image 898
GoodSp33d Avatar asked Jan 28 '26 07:01

GoodSp33d


1 Answers

A few comments:

  • You shouldn't define twice launcher.XXMaxPermSize
  • You shouldn't use 512M (only 512m, see "FAQ How do I increase the permgen size available to Eclipse?")
  • Depending on your JDK used for launching Eclipse, you might want to stick with Sun option -XX:MaxPermSize=512m

Even though those aren't the heap space parameters, they might influence how Eclipse runs.

like image 198
VonC Avatar answered Jan 30 '26 23:01

VonC