| PermGen space in Indigo [message #689831]
||Tue, 28 June 2011 09:06
| Darie Moldovan
Registered: November 2010
Location: Darmstadt, Germany
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:
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
Powered by FUDForum
. Page generated in 0.02274 seconds