|
|
|
|
|
|
|
|
|
|
|
|
Re: Constant "PermGen space" crashes in Helios: what is this? [message #546396 is a reply to message #546114] |
Mon, 12 July 2010 15:52   |
Eclipse User |
|
|
|
Olaf is correct, the launcher is looking for a vendor "Sun Microsystems",
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Constant "PermGen space" crashes in Helios: what is this? [message #643794 is a reply to message #643793] |
Wed, 08 December 2010 10:11   |
Iain  Messages: 6 Registered: December 2010 |
Junior Member |
|
|
Sorry, I posted the wrong version. I am running :
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
[Updated on: Wed, 08 December 2010 10:28] Report message to a moderator
|
|
|
|
|
|
Re: Constant "PermGen space" crashes in Helios: what is this? [message #674190 is a reply to message #645732] |
Thu, 26 May 2011 04:49   |
Eclipse User |
|
|
|
Hi, well for a reason I still don't know. The parameters given to the eclipse.ini are not taken. So I'm using java commands directly to execute the eclipse with the specific parameters.
Here is a solution that at least interrupt the constant crashing of eclipse.
Command format: java [ options ] -jar file.jar [ argument ... ]
Examples:
java -XX:PermSize=64M -XX:MaxPermSize=256M -Xms512M -Xmx1024M -jar <ECLIPSE_HOME>/plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar (for eclipse 3.5.x)
java -XX:PermSize=64M -XX:MaxPermSize=256M -Xms512M -Xmx1024M -jar <ECLIPSE_HOME>/plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar (for eclipse 3.6.x)
Best Regards,
|
|
|
Re: Constant "PermGen space" crashes in Helios: what is this? [message #674191 is a reply to message #674190] |
Thu, 26 May 2011 04:54   |
Eclipse User |
|
|
|
Hi, well for a reason I still don't know. The parameters given to the eclipse.ini are not taken. So I'm using java commands directly to execute the eclipse with the specific parameters.
Here is a solution that at least interrupt the constant crashing of eclipse.
Command format: java [ options ] -jar file.jar [ argument ... ]
Examples:
java -XX:PermSize=64M -XX:MaxPermSize=256M -Xms512M -Xmx1024M -jar <ECLIPSE_HOME>/plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar (for eclipse 3.5.x)
java -XX:PermSize=64M -XX:MaxPermSize=256M -Xms512M -Xmx1024M -jar <ECLIPSE_HOME>/plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar (for eclipse 3.6.x)
Best Regards,
[Updated on: Thu, 26 May 2011 04:56] by Moderator Report message to a moderator
|
|
|
|