4

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
3
  • 1
    How about trying mine? See stackoverflow.com/questions/142357/… Commented Oct 24, 2009 at 19:53
  • this is great!, it seems to work, i edited my location where my java was and removed -data ... and all is ok :-)!! Thanks .. I have no idea what it does but it works :-) Commented Oct 24, 2009 at 20:07
  • Hey, i can't accept you as the correct answer as its only a comment. Would like you like to enter a reply so i can accept.?? Commented Oct 24, 2009 at 20:08

1 Answer 1

2

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)

Sign up to request clarification or add additional context in comments.

1 Comment

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.