java.lang.OutOfMemoryError: PermGen space [message #1385647] |
Tue, 10 June 2014 08:37 |
|
Hello,
I am using eclipse-modeling-kepler-SR2-linux-gtk without any additional plugins.
When I am using it, I can read in the console sometimes:
Logging exception:
java.lang.OutOfMemoryError: PermGen space
When it happens, Eclipse does not respond and close after some seconds.
People on the Internet propose 3 solutions:
1) add memory to my system (I have 2GB)
2) modify my eclipse/eclipse.ini file
3) change the java version used (I am using java 1.7.0_07)
This is what I modified in my eclipse/eclipse.ini file:
$ cat eclipse/eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.modeling.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
As you can see I have changed the line 256m by 512m (just after --launcher.XXMaxPermSize).
Also, I try with different versions of java.
But these solutions does not change anything.
Do you have THE solution?
Thank you.
Best regards.
|
|
|
|
|
Re: java.lang.OutOfMemoryError: PermGen space [message #1385893 is a reply to message #1385842] |
Thu, 12 June 2014 06:47 |
|
Ah... Indeed, today:
Logging exception:
java.lang.OutOfMemoryError: PermGen space
This is my eclipse/eclipse.ini file:
$ cat eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.modeling.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=512m
-Xms40m
-Xmx512m
Do you have a solution?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08814 seconds