OutOfMemoryError running TeamConcert with Eclipse 3.4.1
I have installed TeamConcert with Eclipse 3.4.1 and have had Eclipse exit abruptly several times with an OutOfMemoryError PermGen space (see .log entry below):
I am running eclipse with the following command line: /usr/eclipse-3.4.1/eclipse -data /USR/markworkspace -vmargs -Xmx512m& Excerpt from .log below: !ENTRY org.eclipse.ui 4 0 2008-10-20 14:01:18.498 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: PermGen space) at org.eclipse.swt.SWT.error(SWT.java:3777) at org.eclipse.swt.SWT.error(SWT.java:3695) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) Caused by: java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:165) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:554) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:524) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:455) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:443) at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:423) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:193) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:368) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:444) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:397) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:385) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:87) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at org.eclipse.compare.contentmergeviewer.TextMergeViewer.createLegInfoFor(TextMergeViewer.java:2400) at org.eclipse.compare.contentmergeviewer.TextMergeViewer.updateContent(TextMergeViewer.java:2325) at org.eclipse.compare.contentmergeviewer.ContentMergeViewer.internalRefresh(ContentMergeViewer.java:715) at org.eclipse.compare.contentmergeviewer.ContentMergeViewer.inputChanged(ContentMergeViewer.java:615) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:251) at org.eclipse.jdt.internal.ui.compare.JavaMergeViewer.setInput(JavaMergeViewer.java:135) at org.eclipse.compare.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:256) at org.eclipse.compare.CompareEditorInput.internalSetContentPaneInput(CompareEditorInput.java:791) at org.eclipse.compare.CompareEditorInput.access$7(CompareEditorInput.java:789) at org.eclipse.compare.CompareEditorInput$13.run(CompareEditorInput.java:729) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.compare.CompareEditorInput.feed1(CompareEditorInput.java:723) at org.eclipse.compare.CompareEditorInput.feedInput(CompareEditorInput.java:701) at org.eclipse.compare.CompareEditorInput.createContents(CompareEditorInput.java:524) at com.ibm.team.internal.filesystem.ui.changes.FileChangeEditorInput.createContents(FileChangeEditorInput.java:175) at org.eclipse.compare.internal.CompareEditor.createCompareControl(CompareEditor.java:415) !ENTRY org.eclipse.ui 4 4 2008-10-20 14:01:31.555 !MESSAGE Could not create action delegate for id: com.ibm.team.filesystem.actions.reverseChanges !ENTRY org.eclipse.ui 4 4 2008-10-20 14:01:31.556 !MESSAGE Internal plug-in action delegate error on creation. !ENTRY org.eclipse.ui 4 0 2008-10-20 14:01:34.930 !MESSAGE Unhandled event loop exception !SESSION Mon Oct 20 14:01:49 EDT 2008 ------------------------------------------ !ENTRY org.eclipse.equinox.launcher 4 0 2008-10-20 14:01:49.709 !MESSAGE Exception launching the Eclipse Platform: !STACK java.lang.OutOfMemoryError: PermGen space |
2 answers
Jared Burns (4.5k●2●9)
| answered Oct 20 '08, 2:42 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you're using a Sun JVM, there are extra args you can add to increase
the PermGen size. Here's what I use: -Xmx512M -Xms256M -XX:MaxPermSize=256M -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC Jared Burns Jazz Process Team millerm1 wrote: I have installed TeamConcert with Eclipse 3.4.1 and have had Eclipse |
Hello,
I also wrote a TechNote on the subject which is available from the ibm.com support site: http://www-01.ibm.com/support/docview.wss?rs=3488&context=SW750&q1=memory&uid=swg21320024&loc=en_US&cs=utf-8&lang=en Regards. Eric. Jared Burns a crit : If you're using a Sun JVM, there are extra args you can add to increase |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.