开发者

Eclipse - Java Heap error while in interface

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 pe开发者_Python百科rfect...

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


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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜