Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsConstant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/545806/#msg_545806
minutes or so I suddenly get a popup that reads:
--------------------------
Unhandled event loop exception
PermGen space
--------------------------
and then the application terminates. Any idea what that means or what
might be causing this? It is getting totally unusable!
Michael]]>Michael Moser2010-07-09T08:34:48-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/545823/#msg_545823
these "PermGen space" crashes have stopped, but now almost any file
operation (opening a file, closing it, renaming it, etc. ) becomes
extremely slow and every second time Helios crashes (i.e. just
disappears) in the process. This is getting nightmare!
M.]]>Michael Moser2010-07-09T09:48:27-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/545836/#msg_545836
http://wiki.eclipse.org/FAQ_How_do_I_increase_the_permgen_si ze_available_to_Eclipse%3F
Regards,
Mariot
Michael Moser a écrit :
> I closed and deleted the project and then re-imported it. Since then
> these "PermGen space" crashes have stopped, but now almost any file
> operation (opening a file, closing it, renaming it, etc. ) becomes
> extremely slow and every second time Helios crashes (i.e. just
> disappears) in the process. This is getting nightmare!
>
> M.]]>Mariot Chauvin2010-07-09T10:41:43-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/546024/#msg_546024
This is Helios (JEE developer distribution) with JDK1.6.0_21 on Windows XP 32-bit.
The workspace log pane has several "Unhandled event loop exception" messages with a stack trace of "java.lang.OutOfMemoryError: PermGen space" followed by another "Unhandled event loop exception" with a stacktrace value of "An exception stack trace is not available."
Shutting down eclipse (when it works -- usually I have to kill the process) usually gives me a message of "Internal Error PermGen Space."
I can easily reproduce this if anyone can think of any other useful information that I could provide.
The .metadata/.log file has this:
!ENTRY org.eclipse.ui.ide 4 1 2010-07-09 16:43:04.500
!MESSAGE Problems occurred while trying to save the state of the workbench.
!SUBENTRY 1 org.eclipse.ui.ide 4 1 2010-07-09 16:43:04.500
!MESSAGE Internal Error
!STACK 0
java.lang.OutOfMemoryError: PermGen space
at com.sun.org.apache.xalan.internal.xsltc.runtime.output.Trans letOutputHandlerFactory.getSerializationHandler(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl .getOutputHandler(Unknown Source)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl .transform(Unknown Source)
at org.eclipse.debug.internal.core.LaunchManager.serializeDocum ent(LaunchManager.java:566)
at org.eclipse.debug.core.DebugPlugin.serializeDocument(DebugPl ugin.java:1158)
at org.eclipse.debug.internal.ui.launchConfigurations.Perspecti veManager.generatePerspectiveXML(PerspectiveManager.java:901 )
at org.eclipse.debug.internal.ui.launchConfigurations.Perspecti veManager.saving(PerspectiveManager.java:1089)
at org.eclipse.debug.internal.ui.DebugUIPlugin$2.saving(DebugUI Plugin.java:476)
at org.eclipse.core.internal.resources.SaveManager.executeLifec ycle(SaveManager.java:361)
at org.eclipse.core.internal.resources.SaveManager$1.run(SaveMa nager.java:170)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.resources.SaveManager.broadcastLif ecycle(SaveManager.java:173)
at org.eclipse.core.internal.resources.SaveManager.save(SaveMan ager.java:1108)
at org.eclipse.core.internal.resources.Workspace.save(Workspace .java:2006)
at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor$ 5.run(IDEWorkbenchAdvisor.java:502)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)]]>Nathan Blair2010-07-09T22:46:44-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/546114/#msg_546114
opinion Oracle has changed the jdk so that the eclipse launcher
doesn't recognize it anymore as Sun VM.
Workaround: Start eclipse from the command line and pass the
PermGenSpace parameter:
eclipse.exe -vmargs -XX:MaxPermSize=256m
> I am also experiencing PermGen errors. I have increased the permgen
space
> to 256m (and even to 512m) per the FAQ and it still crashes.
>
> This is Helios (JEE developer distribution) with JDK1.6.0_21 on
Windows XP
> 32-bit.
>
> The workspace log pane has several "Unhandled event loop exception"
> messages with a stack trace of "java.lang.OutOfMemoryError: PermGen
space"
> followed by another "Unhandled event loop exception" with a
stacktrace
> value of "An exception stack trace is not available."
>
> Shutting down eclipse (when it works -- usually I have to kill the
> process) usually gives me a message of "Internal Error PermGen
Space."
>
> I can easily reproduce this if anyone can think of any other useful
> information that I could provide.
>
> The .metadata/.log file has this:
>
> !ENTRY org.eclipse.ui.ide 4 1 2010-07-09 16:43:04.500
> !MESSAGE Problems occurred while trying to save the state of the
> workbench. !SUBENTRY 1 org.eclipse.ui.ide 4 1 2010-07-09
16:43:04.500
> !MESSAGE Internal Error
> !STACK 0
> java.lang.OutOfMemoryError: PermGen space
> at com.sun.org.apache.xalan.internal.xsltc.runtime.output.Trans
> letOutputHandlerFactory.getSerializationHandler(Unknown Source)
> at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl
> .getOutputHandler(Unknown Source)
> at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl
> .transform(Unknown Source)
> at org.eclipse.debug.internal.core.LaunchManager.serializeDocum
> ent(LaunchManager.java:566)
> at org.eclipse.debug.core.DebugPlugin.serializeDocument(DebugPl
> ugin.java:1158)
> at org.eclipse.debug.internal.ui.launchConfigurations.Perspecti
> veManager.generatePerspectiveXML(PerspectiveManager.java:901 )
> at org.eclipse.debug.internal.ui.launchConfigurations.Perspecti
> veManager.saving(PerspectiveManager.java:1089)
> at org.eclipse.debug.internal.ui.DebugUIPlugin$2.saving(DebugUI
> Plugin.java:476)
> at org.eclipse.core.internal.resources.SaveManager.executeLifec
> ycle(SaveManager.java:361)
> at org.eclipse.core.internal.resources.SaveManager$1.run(SaveMa
> nager.java:170) at
> org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.internal.resources.SaveManager.broadcastLif
> ecycle(SaveManager.java:173)
> at org.eclipse.core.internal.resources.SaveManager.save(SaveMan
> ager.java:1108)
> at org.eclipse.core.internal.resources.Workspace.save(Workspace
> .java:2006)
> at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor$
> 5.run(IDEWorkbenchAdvisor.java:502)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.
> run(ModalContext.java:121)]]>Olaf Groeger2010-07-11T08:14:17-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/546223/#msg_546223
https://bugs.eclipse.org/bugs/show_bug.cgi?id=319514]]>Aurélien Pupier2010-07-12T08:37:28-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/546358/#msg_546358
No real name2010-07-12T14:41:01-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/546366/#msg_546366
No Real Name wrote on Mon, 12 July 2010 16:41
For what it is worth, I have the same issue with JDK 1.6.0_20
Did you modify your eclipse.ini?]]>Aurélien Pupier2010-07-12T14:51:07-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/546367/#msg_546367
-vm
<path>JDK 1.6.0_20 and
also updated the three space parms from 256K to 512K]]>No real name2010-07-12T14:55:31-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/546369/#msg_546369
No Real Name wrote on Mon, 12 July 2010 16:55
Yes, with
-vm
<path>JDK 1.6.0_20 and
also updated the three space parms from 256K to 512K
You want tell 512m? if not, that is the reason
Otherwise, double-check that you have your eclipse.ini with no errors.]]>Aurélien Pupier2010-07-12T14:59:03-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/546370/#msg_546370
No real name2010-07-12T15:04:32-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/546374/#msg_546374
No real name2010-07-12T15:09:21-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/546396/#msg_546396
which is now "Oracle".
As a side note, it is better to add the -XX:MaxPermSize=256m in the
eclipse.ini file after the -vmargs line because specifying vm arguments on
the command line override the vm arguments in the .ini file.
-Andrew
Olaf Groeger wrote:
> I have the same problem since updating the jdk to 1.6.0_21. In my
> opinion Oracle has changed the jdk so that the eclipse launcher
> doesn't recognize it anymore as Sun VM.
>
> Workaround: Start eclipse from the command line and pass the
> PermGenSpace parameter:
> eclipse.exe -vmargs -XX:MaxPermSize=256m
>
>
>> I am also experiencing PermGen errors. I have increased the permgen
> space
>> to 256m (and even to 512m) per the FAQ and it still crashes.
>>
>> This is Helios (JEE developer distribution) with JDK1.6.0_21 on
> Windows XP
>> 32-bit.
>>
>> The workspace log pane has several "Unhandled event loop exception"
>> messages with a stack trace of "java.lang.OutOfMemoryError: PermGen
> space"
>> followed by another "Unhandled event loop exception" with a
> stacktrace
>> value of "An exception stack trace is not available."
>>
>> Shutting down eclipse (when it works -- usually I have to kill the
>> process) usually gives me a message of "Internal Error PermGen
> Space."
>>
>> I can easily reproduce this if anyone can think of any other useful
>> information that I could provide.
>>
>> The .metadata/.log file has this:
>>
>> !ENTRY org.eclipse.ui.ide 4 1 2010-07-09 16:43:04.500
>> !MESSAGE Problems occurred while trying to save the state of the
>> workbench. !SUBENTRY 1 org.eclipse.ui.ide 4 1 2010-07-09
> 16:43:04.500
>> !MESSAGE Internal Error
>> !STACK 0
>> java.lang.OutOfMemoryError: PermGen space
>> at com.sun.org.apache.xalan.internal.xsltc.runtime.output.Trans
>> letOutputHandlerFactory.getSerializationHandler(Unknown Source)
>> at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl
>> .getOutputHandler(Unknown Source)
>> at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl
>> .transform(Unknown Source)
>> at org.eclipse.debug.internal.core.LaunchManager.serializeDocum
>> ent(LaunchManager.java:566)
>> at org.eclipse.debug.core.DebugPlugin.serializeDocument(DebugPl
>> ugin.java:1158)
>> at org.eclipse.debug.internal.ui.launchConfigurations.Perspecti
>> veManager.generatePerspectiveXML(PerspectiveManager.java:901 )
>> at org.eclipse.debug.internal.ui.launchConfigurations.Perspecti
>> veManager.saving(PerspectiveManager.java:1089)
>> at org.eclipse.debug.internal.ui.DebugUIPlugin$2.saving(DebugUI
>> Plugin.java:476)
>> at org.eclipse.core.internal.resources.SaveManager.executeLifec
>> ycle(SaveManager.java:361)
>> at org.eclipse.core.internal.resources.SaveManager$1.run(SaveMa
>> nager.java:170) at
>> org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>> at org.eclipse.core.internal.resources.SaveManager.broadcastLif
>> ecycle(SaveManager.java:173)
>> at org.eclipse.core.internal.resources.SaveManager.save(SaveMan
>> ager.java:1108)
>> at org.eclipse.core.internal.resources.Workspace.save(Workspace
>> .java:2006)
>> at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor$
>> 5.run(IDEWorkbenchAdvisor.java:502)
>> at org.eclipse.jface.operation.ModalContext$ModalContextThread.
>> run(ModalContext.java:121)]]>Andrew Niefer2010-07-12T15:52:55-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559240/#msg_559240
Does it work??
I have the same problem.
I increased the PermGen space in the eclipse.ini file on 512m, but nothing happen.
I use the same eclipse version and the same java version as the user above.
I have a new bigger problem. I pressed the "run"-button and there comes a massage that this function isn't available.
Do someone know how I can solve these both problems??
Thanks
jared.]]>jared2010-09-16T07:23:45-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559242/#msg_559242
BTW there is a sticky post: http://www.eclipse.org/forums/index.php?t=msg&th=171988& amp;start=0&S=404fe750f2e7196f4c1d669b0f5a5678]]>Aurélien Pupier2010-09-16T07:26:10-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559244/#msg_559244
I installed the jdk1.6.0_21 two or four weeks ago.]]>jared2010-09-16T07:32:31-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559246/#msg_559246
You can check this using java -version]]>Aurélien Pupier2010-09-16T07:33:31-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559247/#msg_559247
jared2010-09-16T07:36:18-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559249/#msg_559249
Aurélien Pupier2010-09-16T07:37:54-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559251/#msg_559251
Could you give me a link to this download site, please??
Thanks.]]>jared2010-09-16T07:42:23-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559252/#msg_559252
Aurélien Pupier2010-09-16T07:47:36-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559258/#msg_559258
jared2010-09-16T08:14:29-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559259/#msg_559259
so this not related to the same issue]]>Aurélien Pupier2010-09-16T08:15:32-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559261/#msg_559261
jared2010-09-16T08:17:09-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559287/#msg_559287
Do someone know where I can download the java version b07??
Thanks for your efforts.]]>jared2010-09-16T09:42:04-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559568/#msg_559568
!ENTRY org.eclipse.equinox.launcher 4 0 2010-09-17 10:35:36.482
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.OutOfMemoryError: PermGen space
Can Eclipse produce the error message above or does the error message only come if there is a bug in the jdk??
thanks.]]>jared2010-09-17T08:40:42-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559685/#msg_559685
Eclipse has a known compatibility problem with b06. You should get 1.6.0_21 b07 build or apply the workaround detailed in multiple places.
- Konstantin]]>Konstantin Komissarchik2010-09-17T15:10:11-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/559853/#msg_559853
It works. I'm happy.
Thanks for your efforts.]]>jared2010-09-20T06:10:07-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/560049/#msg_560049
I assume the JDK b07 requires the JDK, JRE, and debug jars; is that correct?
I am at my wits end on this crazy project. 17 steps deep on the dependencies and now I have to go back and change java itself. Madness. I was ready to call Helios Eclipse "collapse" as a rude nickname.]]>Robert 2010-09-20T23:36:25-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/560052/#msg_560052
Incidentally, I installed the JDK 7 b10 which was the only 7 build on the referenced download page. Still within seconds I got a permgen space error. I have also modified my eclipse.ini file as recommended above, also to no avail.
I have no idea what might be wrong. ]]>Robert 2010-09-21T00:38:27-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/596954/#msg_596954
David Wegener2010-09-21T18:42:52-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/624536/#msg_624536
Robert 2010-09-22T05:17:26-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/627089/#msg_627089
Then of course, my JVM will not start. The only java dependent application not working at all now on my machine is eclipse.
Now what?
Any advice on this issue?]]>Robert 2010-09-22T20:39:55-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/627180/#msg_627180
Are you specifying the vm as either a command line argument with -vm {path to jdk}/bin/javaw.exe on the command line or including the vm definition in your eclipse.ini.
If not, you may have path problems that are causing a different vm to be run instead of the one you think is running.
If you can't get the b07 JDK installed, then follow one of the other work arounds documented in the sticky post at the top of the forum.]]>David Wegener2010-09-22T21:57:27-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/627608/#msg_627608
Regardless it works so TYVM!]]>Robert 2010-09-23T02:43:07-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/629649/#msg_629649
-vm {path to javaw.exe}\jdk\bin\javaw.exe
Should I use "..." or '...' for the path??
Thanks.]]>jared2010-09-29T06:42:14-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/643792/#msg_643792
-Xms512m
-Xmx512m
-XX:MaxPermSize=256m
However, Ive tried most ever configuration of heap Xms, Xmx and XX:MaxPermSize.
The issue for me seems to be especially common when I try and run a Birt report from within Eclipse.
Im running jdk 1.6.0_21 and Eclipse Version: Helios Service Release 1
Build id: 20100917-0705
Is there anything else I can try except altering the ini settings?]]>Iain 2010-12-08T09:59:11-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/643793/#msg_643793
Aurélien Pupier2010-12-08T10:02:47-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/643794/#msg_643794
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
However the error still occurs. As soon as I starting running Birt reports I get the following error (or similar):
SEVERE: Error processing request
java.lang.OutOfMemoryError: PermGen space]]>Iain 2010-12-08T10:11:43-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/645649/#msg_645649
downgrade jvm. I don't know how to use eclipse.ini, so I use
to run Helios (Windows platform, as you can see). Running JDK1.6.0_10, everything started to work fine, which was great as I urgently needed to make Helios work for school.]]>Tomas Rehorek2010-12-19T12:40:55-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/645662/#msg_645662
> What I found helpful was to downgrade jvm. I don't know how to use eclipse.ini, so I use
>
> eclipse.exe -vm "c:\program files\java\jdk1.6.0_10\bin"
>
> to run Helios (Windows platform, as you can see). Running JDK1.6.0_10, everything started to work fine, which was great as I urgently needed to make Helios work for school.
That isn't the correct format for specifying the jvm on the command
line. You need to point to the actual executable. It should be c:
\program files\java\jdk1.6.0_10\bin\javaw.exe]]>David Wegener2010-12-19T15:58:28-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/645732/#msg_645732
In "Run Configurations" > "Apache Tomcat"
If you click on the "Arguments" tab then add the following to the VM arguments:
-Xmx1024m -XX:MaxPermSize=256M.
Since I added this I haven't had any issues running Helios on JDK1.6.0_22.
Hope this helps.
Iain]]>Iain 2010-12-20T09:59:43-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/674190/#msg_674190
Here is a solution that at least interrupt the constant crashing of eclipse.
Best Regards,]]>LD 2011-05-26T04:49:46-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/674191/#msg_674191
Here is a solution that at least interrupt the constant crashing of eclipse.
Best Regards,]]>LD 2011-05-26T04:54:45-00:00Re: Constant "PermGen space" crashes in Helios: what is this?
https://www.eclipse.org/forums/index.php/mv/msg/171585/1456349/#msg_1456349
my eclipse.ini looks like: