Skip to main content



      Home
Home » Newcomers » Newcomers » eclipse 3.3.1 out of memory
eclipse 3.3.1 out of memory [message #239832] Tue, 06 November 2007 05:48 Go to next message
Eclipse UserFriend
Originally posted by: hicham.dev.menara.ma

hello
using eclipse 3.3.1 updated with europa discovery site, and running
for now small java class, it crashes
using 1 gig of ram, do i need more ?

..log says :
!ENTRY org.eclipse.core.jobs 4 2 2007-11-06 10:18:16.253
!MESSAGE An internal error occurred during: "Periodic workspace save.".
!STACK 0
java.lang.OutOfMemoryError: PermGen space
!SESSION 2007-11-06 10:32:35.202
-----------------------------------------------
eclipse.buildId=M20070921-1145
java.version=1.6.0_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.core.resources 2 10035 2007-11-06 10:32:40.018
!MESSAGE The workspace exited with unsaved changes in the previous
session; refreshing workspace to recover changes.

!ENTRY org.eclipse.jst.jsp.core 4 4 2007-11-06 10:32:52.189
!MESSAGE A workspace crash was detected. The previous session did not
exit normally. Not using saved taglib indexes

!ENTRY org.eclipse.core.jobs 4 2 2007-11-06 10:37:42.821
!MESSAGE An internal error occurred during: "Periodic workspace save.".
!STACK 0
java.lang.OutOfMemoryError: PermGen space
at
org.eclipse.jdt.internal.core.JavaModelManager.saveVariables AndContainers(JavaModelManager.java:3237)
at
org.eclipse.jdt.internal.core.JavaModelManager.saving(JavaMo delManager.java:3549)
at
org.eclipse.core.internal.resources.SaveManager.executeLifec ycle(SaveManager.java:343)
at
org.eclipse.core.internal.resources.SaveManager$1.run(SaveMa nager.java:160)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.core.internal.resources.SaveManager.broadcastLif ecycle(SaveManager.java:163)
at
org.eclipse.core.internal.resources.SaveManager.save(SaveMan ager.java:982)
at
org.eclipse.core.internal.resources.DelayedSnapshotJob.run(D elayedSnapshotJob.java:44)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


thanks for taking time to reply
hicham
Re: eclipse 3.3.1 out of memory [message #239854 is a reply to message #239832] Tue, 06 November 2007 07:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=203325 for details
about how to work around the problem that the flag for controlling the
permgen space was broken in 3.3.1 and fixed in 3.3.1.1...


hicham wrote:
> hello
> using eclipse 3.3.1 updated with europa discovery site, and running
> for now small java class, it crashes
> using 1 gig of ram, do i need more ?
>
> .log says :
> !ENTRY org.eclipse.core.jobs 4 2 2007-11-06 10:18:16.253
> !MESSAGE An internal error occurred during: "Periodic workspace save.".
> !STACK 0
> java.lang.OutOfMemoryError: PermGen space
> !SESSION 2007-11-06 10:32:35.202
> -----------------------------------------------
> eclipse.buildId=M20070921-1145
> java.version=1.6.0_03
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86_64
>
> !ENTRY org.eclipse.core.resources 2 10035 2007-11-06 10:32:40.018
> !MESSAGE The workspace exited with unsaved changes in the previous
> session; refreshing workspace to recover changes.
>
> !ENTRY org.eclipse.jst.jsp.core 4 4 2007-11-06 10:32:52.189
> !MESSAGE A workspace crash was detected. The previous session did not
> exit normally. Not using saved taglib indexes
>
> !ENTRY org.eclipse.core.jobs 4 2 2007-11-06 10:37:42.821
> !MESSAGE An internal error occurred during: "Periodic workspace save.".
> !STACK 0
> java.lang.OutOfMemoryError: PermGen space
> at
> org.eclipse.jdt.internal.core.JavaModelManager.saveVariables AndContainers(JavaModelManager.java:3237)
>
> at
> org.eclipse.jdt.internal.core.JavaModelManager.saving(JavaMo delManager.java:3549)
>
> at
> org.eclipse.core.internal.resources.SaveManager.executeLifec ycle(SaveManager.java:343)
>
> at
> org.eclipse.core.internal.resources.SaveManager$1.run(SaveMa nager.java:160)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.core.internal.resources.SaveManager.broadcastLif ecycle(SaveManager.java:163)
>
> at
> org.eclipse.core.internal.resources.SaveManager.save(SaveMan ager.java:982)
>
> at
> org.eclipse.core.internal.resources.DelayedSnapshotJob.run(D elayedSnapshotJob.java:44)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
> thanks for taking time to reply
> hicham
Re: eclipse 3.3.1 out of memory [message #239878 is a reply to message #239854] Tue, 06 November 2007 08:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hicham.dev.menara.ma

Ed Merks wrote:
> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=203325 for details
> about how to work around the problem that the flag for controlling the
> permgen space was broken in 3.3.1 and fixed in 3.3.1.1...
>
>
sorry, it crashed, and eclipse is up to date with patches i.e. using
3.3.1.1 + wtp plugins from europa discovey site and from WTP main site
as well
I am using sun java 1.6 jdk. in the readme eclipse file , it says
eclipse 3.3 is tested against java 1.4 and 1.5
is that what is causing the crash ?
Re: eclipse 3.3.1 out of memory [message #239897 is a reply to message #239878] Tue, 06 November 2007 09:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

I've seen a few posts about crashes with the Sun 6.0 JDK. Is this crash
you mention an actual JVM crash or more permgen issues. If the latter,
have you tried to increase the amount allocated to the permgen space?


hicham wrote:
> Ed Merks wrote:
>> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=203325 for details
>> about how to work around the problem that the flag for controlling
>> the permgen space was broken in 3.3.1 and fixed in 3.3.1.1...
>>
>>
> sorry, it crashed, and eclipse is up to date with patches i.e. using
> 3.3.1.1 + wtp plugins from europa discovey site and from WTP main site
> as well
> I am using sun java 1.6 jdk. in the readme eclipse file , it says
> eclipse 3.3 is tested against java 1.4 and 1.5
> is that what is causing the crash ?
>
>
>
>
Re: eclipse 3.3.1 out of memory [message #239919 is a reply to message #239897] Tue, 06 November 2007 11:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hicham.dev.menara.ma

Ed Merks wrote:
> I've seen a few posts about crashes with the Sun 6.0 JDK. Is this crash
> you mention an actual JVM crash or more permgen issues. If the latter,
> have you tried to increase the amount allocated to the permgen space?
>

the log talks about PermGen space, how do i increase permgen space ?
eclispe runs with -vmargs -Xmx512M
Re: eclipse 3.3.1 out of memory [message #239920 is a reply to message #239919] Tue, 06 November 2007 11:42 Go to previous messageGo to next message
Eclipse UserFriend
hicham a écrit :
> the log talks about PermGen space, how do i increase permgen space ?
> eclispe runs with -vmargs -Xmx512M
You take 3.3.1.1 where the problem is fixed or you add
-XX:MaxPermSize=200M in your vm arguments.
--
Olivier
Re: eclipse 3.3.1 out of memory [message #239925 is a reply to message #239919] Tue, 06 November 2007 11:45 Go to previous message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"hicham" <hicham.dev@menara.ma> wrote in message
news:fgq46c$qvq$1@build.eclipse.org...
> Ed Merks wrote:
>> I've seen a few posts about crashes with the Sun 6.0 JDK. Is this crash
>> you mention an actual JVM crash or more permgen issues. If the latter,
>> have you tried to increase the amount allocated to the permgen space?
>>
>
> the log talks about PermGen space, how do i increase permgen space ?
> eclispe runs with -vmargs -Xmx512M

The bug report that Ed pointed you to says how to set the permgen space. It
is a very long bug report, but nonetheless, if you are still running into
permgen problems with Eclipse 3.3.1.1 (notice that last .1 - this is
different than 3.3.1) it is worth taking the time to read it closely and
perhaps add a comment in the bug report.
Previous Topic:Error when restart RCP application
Next Topic:Ant environment variables
Goto Forum:
  


Current Time: Fri Jun 06 18:35:17 EDT 2025

Powered by FUDForum. Page generated in 0.08940 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top