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
* facility (by superclass).
 * 
 * @since 3.3
 */
public class IDEWorkbenchErrorHandler extends WorkbenchErrorHandler {
	private int exceptionCount = 0;
	private InternalErrorDialog dialog;
	private Shell defaultParent;
	private boolean closing = false;
	private IWorkbenchConfigurer workbenchConfigurer;
	
	
	private static String MSG_OutOfMemoryError = IDEWorkbenchMessages.FatalError_OutOfMemoryError;
	private static String MSG_StackOverflowError = IDEWorkbenchMessages.FatalError_StackOverflowError;
	private static String MSG_VirtualMachineError = IDEWorkbenchMessages.FatalError_VirtualMachineError;
	private static String MSG_SWTError = IDEWorkbenchMessages.FatalError_SWTError;
	private static String MSG_FATAL_ERROR = IDEWorkbenchMessages.FatalError;
	private static String MSG_FATAL_ERROR_Recursive = IDEWorkbenchMessages.FatalError_RecursiveError;
	private static String MSG_FATAL_ERROR_RecursiveTitle = IDEWorkbenchMessages.Internal_error;
	/**
	 * @param configurer
	 */
	public IDEWorkbenchErrorHandler(IWorkbenchConfigurer configurer) {
		workbenchConfigurer = configurer;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.statushandlers.WorkbenchErrorHandler#handle(org.eclipse.ui.statushandlers.StatusAdapter,
	 *      int)