Bug 173049 [ErrorHandling] multiple stacked "Internal error" dialogs after OutOfMemoryError
I20070206-0010 - launch Eclipse with: java -showversion -jar plugins\org.eclipse.equinox.launcher_*.jar -data oom -clean -consolelog -console -showlocation - File > Import > Projects from CVS - import org.eclipse.jdt.ui => 4 OutOfMemoryErrors in the log, 3 stacked "Internal error", see screenshot. !ENTRY org.eclipse.core.jobs 4 2 2007-02-06 14:32:25.761 !MESSAGE An internal error occurred during: "Building workspace". !STACK 0 java.lang.OutOfMemoryError: Java heap space !ENTRY org.eclipse.ui 4 0 2007-02-06 14:32:25.761 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.OutOfMemoryError: Java heap space !ENTRY org.eclipse.core.jobs 4 2 2007-02-06 14:32:52.462 !MESSAGE An internal error occurred during: "Building workspace". !STACK 0 java.lang.OutOfMemoryError: Java heap space !ENTRY org.eclipse.ui 4 0 2007-02-06 14:32:52.478 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.OutOfMemoryError: Java heap space
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchErrorHandler.java
return false;
			}
			
			
			Throwable detail = internalError;
			if (!Policy.DEBUG_OPEN_ERROR_DIALOG) {
				detail = null;
			}
			return InternalErrorDialog.openQuestion(PlatformUI.getWorkbench()
					.getActiveWorkbenchWindow().getShell(),
					IDEWorkbenchMessages.Internal_error, MessageFormat.format(
							MSG_FATAL_ERROR, new Object[] { msg }), detail, 1);
		} catch (Throwable th) {
			
			
			
			System.err
					.println("Error while informing user about event loop exception:"); 
			internalError.printStackTrace();
			System.err.println("Dialog open exception:"); 
			th.printStackTrace();
			return true;
		}
	}
}