Community
Participate
Working Groups
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 :-(
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
[GMF Restructure] Bug 319140 : product GMF and component Generation was the original product and component for this bug
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 ***