views:

399

answers:

1

Hi there,

I am pretty new to eclipse and it was working fine but now its giving me Java Heap problems and sometimes outofmemory issues...

Can anyone help me with my eclipse.ini ... i have increased some memory values and it got better but not perfect...

I am using this java but currently not doing java editing as such i am just in the eclipse interface ..

1.6 1.6.0_16 http://java.sun.com/products/autodl/j2se C:\Program Files\Java\jre6\bin\javaw.exe true

Here is my ini, its very small currently

-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.rcp.product
--launcher.XXMaxPermSize
384M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-nl en_US
-Dosgi.requiredJavaVersion=1.5
-Xms128m
-Xmx512m
-Djava.net.preferIPv4Stack=true
+1  A: 

Heap issues have been seen before (see this question, or that one, for instance).
Various settings have been proposed (like here), since heap size can be specified in Java.

After quite a bit of experimenting with eclipse.ini, I found my version of it stable enough for most current usage.
See Eclipse Galileo 3.5 and 3.5.1 settings (as part of various other eclipse optimizations)

VonC
Thanks ! as stated it works great, thanks for your quick response and help.
mark smith