| PermGem-Ganymede Drivine me crazy! [message #226837] |
Sun, 18 January 2009 06:41  |
Tori Messages: 18 Registered: July 2009 |
Junior Member |
|
|
Hi,
I normally use Eclipse Europa but upgraded to Ganymede because I wanted to
develop web services. I downloaded WebTools plugin etc. Everything is fine
on that front however I keep getting out of memory errors.
I have a dual core laptop with 2Gs of Ram. I cant
develop anything because eclipse keeps crashing due to out of memory error
(PermGen)...pasted below.
I have edited my eclipse.ini file in attempt to overcome this but to no
avail... but I am no expert on this.. any help/ideas appreciated..my .ini
file is
pasted below the error...
Thanks
T
!ENTRY org.eclipse.ui 4 0 2009-01-17 14:58:30.390
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:165)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:554)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:524)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:455)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass_LockClassLoader(ClasspathManager.java:443)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:423)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:444)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:165)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:554)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:524)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:455)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass_LockClassLoader(ClasspathManager.java:443)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:423)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:444)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
!SESSION Sat Jan 17 14:58:40 GMT 2009
------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2009-01-17 14:58:40.359
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.OutOfMemoryError: PermGen space
eclipse.ini
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512M
-framework
plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx512m
|
|
|
|
| Re: PermGem-Ganymede Drivine me crazy! [message #226872 is a reply to message #226837] |
Tue, 20 January 2009 09:35   |
|
Originally posted by: eclipse-news.rizzoweb.com
On 1/18/2009 6:41 AM, Tori wrote:
> Hi,
>
> I normally use Eclipse Europa but upgraded to Ganymede because I wanted to
> develop web services. I downloaded WebTools plugin etc. Everything is
> fine on that front however I keep getting out of memory errors.
>
> I have a dual core laptop with 2Gs of Ram. I cant
> develop anything because eclipse keeps crashing due to out of memory error
> (PermGen)...pasted below.
>
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 512M
> -framework
> plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -Xms256m
> -Xmx512m
Your ini is not specifying the JVM, so the --launcher arg may not be
applying. Without telling it, Eclipse will try to find a JVM on your
system; that means you don't really know which one it will get.
Use the -vm parameter to tell it the exact location of your JVM
executable, as described in http://wiki.eclipse.org/Eclipse.ini (pay
careful attention to the format decribed there).
Also, there should be no need to specify permgen space of 512MB; 256MB
is plenty to run Eclipse with Web Tools (and a lot more).
Hope this helps,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.02230 seconds