Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319551 - GMF-Diagram-generation fails for Java 1.6.21
Summary: GMF-Diagram-generation fails for Java 1.6.21
Status: CLOSED DUPLICATE of bug 319514
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: gmf.generation-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 08:49 EDT by Johannes Michler CLA
Modified: 2010-07-26 10:33 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Michler CLA 2010-07-12 08:49:49 EDT
Build Identifier: 20100617-1415

We recently updated to Java JDK 1.6.21(x86) on a x64 windows 7 (the same on a Win2k8R2x64 with x86 java/eclipse).

Now we cannot any longer "generate diagram code" for gmf. It gives us an error about missing permspace and then eclipse crashes. This is also the case when setting the XXMaxPermGen to 384m. When running eclipse with the old jdk everything is fine, so I think there are some changes in the hotspotVM/Garbage Collection.

This problems is on two different machines :-(

Reproducible: Always

Steps to Reproduce:
1. Chechout org.eclipse.gmf.examples.mindmap from GMF
2. Install latest Eclipse-GMF and latest JDK 1.6_21 (x86)
3.right-klick on mindmap.gmfgen and select "generate diagram code"
4. Eclipse hangs :-(
Comment 1 Johannes Michler CLA 2010-07-13 06:20:53 EDT
Here is the output when starting eclipse with -debug.

!SESSION 2010-07-13 11:26:13.014 -----------------------------------------------

eclipse.buildId=I20100608-0911
java.version=1.6.0_21
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.rcp.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.
package.rcp.product -consoleLog -debug

!ENTRY org.eclipse.ui 4 0 2010-07-13 11:27:30.630
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.core.jobs 4 2 2010-07-13 11:27:31.370
!MESSAGE An internal error occurred during: "Generate diagram code".
java.lang.OutOfMemoryError: PermGen space

!ENTRY org.eclipse.ui 4 0 2010-07-13 11:27:32.820
!MESSAGE Unhandled event loop exception
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
Comment 2 Eclipse Webmaster CLA 2010-07-19 22:18:13 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation was the original product and component for this bug
Comment 3 Johannes Michler CLA 2010-07-26 10:33:17 EDT
Well this is a more-generic and not a gmf-problem, see http://www.infoq.com/news/2010/07/eclipse-java-6u21

*** This bug has been marked as a duplicate of bug 319514 ***