Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » PermGen space in Indigo (constantly getting the PermGen space exception at runtime)
icon11.gif  PermGen space in Indigo [message #689831] Tue, 28 June 2011 09:06 Go to previous message
Darie Moldovan is currently offline Darie Moldovan
Messages: 67
Registered: November 2010
Location: Darmstadt, Germany
Member
Hello everyone,

I installed a fresh copy of Indigo Build id 20110615-0604, and then installed the plugins for Xtext2, EMF, OCL, XBase and MWE through the update manager. Everything worked fine.

I have an Xtext 2 Project, which I implemented on an Windows XP machine running Eclipse Indigo RC and Xtext 2.

I installed the fresh copy of Indigo on a new machine, running Windows 7 Enterprise with SP1. My current JRE version is:

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)


When I start Eclipse, everything works fine, I can open the projects in my workspace and continue implementing. But when running a project as a new Eclipse instance (typically for Xtext Projects as they generate Eclipse editors), I get the exception

!ENTRY org.eclipse.ui 4 0 2011-06-28 14:57:41.478
!MESSAGE Unhandled event loop exception
Error while logging event loop exception:
java.lang.OutOfMemoryError: PermGen space


The new Eclipse instance starts successfully, but when I open a file within my project, Eclipse freezez/crashes and shows the above error in the console.

I double-checked and I am running the 64-bit Windows Version of Eclipse Indigo with a 64-bit Version of the Sun JRE.

Aditionally, I increased the PermGen size in the eclipse.ini file and in the Run Configuration. No use, I still get the PermGen space exception. Here's my eclipse.ini file:

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.rcp.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx1024m


and the settings in the Run Configuration are as follows:

-Dosgi.requiredJavaVersion=1.5 -Xms512m -Xmx1024m


I also uninstalled and then reinstalled the JRE and restarted my computer.

What could be the problem? Oh, and I also read multiple topics about this exception, including this one. Nothing helped. If you need more details, please ask.

Thanks in advance.

[Updated on: Tue, 28 June 2011 09:13]

Report message to a moderator

 
Read Message icon11.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Eclipse Juno: Padding between panes
Next Topic:Content assist goes wrong after installed Hibernate-tools
Goto Forum:
  


Current Time: Sun May 26 00:51:46 EDT 2013

Powered by FUDForum. Page generated in 0.05033 seconds