Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » PermGem-Ganymede Drivine me crazy!
PermGem-Ganymede Drivine me crazy! [message #226837] Sun, 18 January 2009 06:41 Go to next message
Tori  is currently offline 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 #226866 is a reply to message #226837] Mon, 19 January 2009 12:16 Go to previous messageGo to next message
Nicolas Bihan is currently offline Nicolas Bihan
Messages: 49
Registered: July 2009
Member
Here is my eclipse.ini

-startup
plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819. jar
--launcher.library
plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.0. 101.R34x_v20080731
-showsplash
org.eclipse.platform
-vmargs
-XX:MaxPermSize=256m
-Xms128m
-Xmx712m

You should increase your PermGenSpace available by modifying this line
"-XX:MaxPermSize=256m"

Nicolas Bihan

Tori a écrit :
> 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 Go to previous messageGo to next message
Eclipse User
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
Re: PermGem-Ganymede Drivine me crazy! [message #226941 is a reply to message #226872] Wed, 21 January 2009 11:09 Go to previous message
Tori  is currently offline Tori
Messages: 18
Registered: July 2009
Junior Member
Thanks guys.......
Previous Topic:jsNature causing problem markers
Next Topic:JSDT Support JS frameworks
Goto Forum:
  


Current Time: Thu Aug 21 04:21:07 EDT 2014

Powered by FUDForum. Page generated in 0.04187 seconds