1 Reply Latest reply on Jun 14, 2007 12:08 PM by sharonma

    (AIR) out of memory error when building workspace

    Rogier_Doekes
      Hi,

      I created a very simple AIR project. But during the load the workbench gave me out of memory errors.

      Please find below the relevant .log entries.

      Thanks for your help,
      -Rogier

      !SESSION 2007-06-13 14:13:10.241 -----------------------------------------------
      eclipse.buildId=unknown
      java.version=1.5.0_11
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
      Command-line arguments: -os win32 -ws win32 -arch x86

      !ENTRY org.eclipse.ui 4 4 2007-06-13 14:13:30.383
      !MESSAGE Invalid Menu Extension (Path is invalid): goToResource

      !ENTRY org.eclipse.ui 4 4 2007-06-13 14:13:46.565
      !MESSAGE Invalid Menu Extension (Path is invalid): org.eclipse.jdt.ui.actions.GoToPackage

      !ENTRY org.eclipse.ui 4 4 2007-06-13 14:13:46.565
      !MESSAGE Invalid Menu Extension (Path is invalid): org.eclipse.jdt.ui.actions.GoToType

      !ENTRY org.eclipse.core.jobs 4 2 2007-06-13 16:29:02.002
      !MESSAGE An internal error occurred during: "Building workspace".
      !STACK 0
      java.lang.OutOfMemoryError: PermGen space

      !ENTRY org.eclipse.ui 4 4 2007-06-13 16:29:02.159
      !MESSAGE Unhandled event loop exception

      !ENTRY org.eclipse.ui 4 0 2007-06-13 16:29:02.159
      !MESSAGE PermGen space
      !STACK 0
      java.lang.OutOfMemoryError: PermGen space

      !ENTRY org.eclipse.core.jobs 4 2 2007-06-13 16:29:04.675
      !MESSAGE An internal error occurred during: "Building workspace".
      !STACK 0
      java.lang.OutOfMemoryError: PermGen space

      !ENTRY org.eclipse.ui 4 4 2007-06-13 16:29:04.691
      !MESSAGE Unhandled event loop exception

      !ENTRY org.eclipse.ui 4 0 2007-06-13 16:29:04.691
      !MESSAGE PermGen space
      !STACK 0
      java.lang.OutOfMemoryError: PermGen space

      !ENTRY org.eclipse.ui 4 4 2007-06-13 16:29:19.067
      !MESSAGE Unhandled event loop exception

      !ENTRY org.eclipse.ui 4 0 2007-06-13 16:29:19.098
      !MESSAGE Failed to execute runnable (java.lang.OutOfMemoryError: PermGen space)
      !STACK 0
      org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: PermGen space)
      at org.eclipse.swt.SWT.error(SWT.java:3374)
      at org.eclipse.swt.SWT.error(SWT.java:3297)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
      at org.eclipse.jface.window.Window.open(Window.java:796)
      at org.eclipse.ui.internal.ide.dialogs.InternalErrorDialog.open(InternalErrorDialog.java:78)
      at org.eclipse.ui.internal.ide.dialogs.InternalErrorDialog.openQuestion(InternalErrorDialog. java:185)
      at org.eclipse.ui.internal.ide.IDEExceptionHandler.openQuestionDialog(IDEExceptionHandler.ja va:174)
      at org.eclipse.ui.internal.ide.IDEExceptionHandler.handleException(IDEExceptionHandler.java: 100)
      at org.eclipse.ui.internal.ide.IDEWorkbenchAdvisor.eventLoopException(IDEWorkbenchAdvisor.ja va:298)
      at org.eclipse.ui.internal.ExceptionHandler.handleException(ExceptionHandler.java:62)
      at org.eclipse.ui.internal.progress.ErrorNotificationManager$1.run(ErrorNotificationManager. java:82)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at com.adobe.flexbuilder.standalone.FlexBuilderApplication.run(FlexBuilderApplication.java:1 03)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
      at org.eclipse.core.launcher.Main.run(Main.java:977)
      at org.eclipse.core.launcher.Main.main(Main.java:952)
      Caused by: java.lang.OutOfMemoryError: PermGen space

      !ENTRY org.eclipse.ui.workbench 4 2 2007-06-13 16:34:11.522
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
      !STACK 0
      java.lang.NullPointerException
      at org.eclipse.ui.internal.EditorManager.convertToSaveables(EditorManager.java:1336)
      at org.eclipse.ui.internal.EditorManager.saveAll(EditorManager.java:1203)
      at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:790)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
      at org.eclipse.ui.internal.Workbench.saveAllEditors(Workbench.java:738)
      at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:658)
      at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:642)
      at org.eclipse.ui.internal.Workbench$15.run(Workbench.java:855)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
      at org.eclipse.ui.internal.Workbench.close(Workbench.java:853)
      at org.eclipse.ui.internal.Workbench.close(Workbench.java:828)
      at org.eclipse.ui.internal.Workbench$23.handleEvent(Workbench.java:1848)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3484)
      at org.eclipse.swt.widgets.Display.messageProc(Display.java:2675)
      at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1927)
      at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:443)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3334)
      at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539)
      at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1634)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4025)
      at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
      at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2401)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2963)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at com.adobe.flexbuilder.standalone.FlexBuilderApplication.run(FlexBuilderApplication.java:1 03)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
      at org.eclipse.core.launcher.Main.run(Main.java:977)
      at org.eclipse.core.launcher.Main.main(Main.java:952)

      !ENTRY org.eclipse.ui 4 4 2007-06-13 16:34:19.959
      !MESSAGE Unhandled event loop exception

      !ENTRY org.eclipse.ui 4 0 2007-06-13 16:34:19.959
      !MESSAGE PermGen space
      !STACK 0
      java.lang.OutOfMemoryError: PermGen space