Community
Participate
Working Groups
I-20040413 This OOM has been occurring very frequently recently. I launch Eclipse with - Xxm256M I have 10 projects in my workspace, all in source form. I went to the Installed JREs pref page and changed the default JRE. This provoked a full build. The build aborted before finishing with the following in my log: !SESSION Apr 16, 2004 23:08:02.658 -------------------------------------------- - java.version=1.4.2 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -Xmx256M !ENTRY org.eclipse.jdt.core 4 4 Apr 16, 2004 23:08:02.658 !MESSAGE Background Indexer Crash Recovery !STACK 0 java.lang.OutOfMemoryError !ENTRY org.eclipse.jdt.debug.ui 4 150 Apr 16, 2004 23:10:59.286 !MESSAGE Internal Error !STACK 0 java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:283) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run (ProgressMonitorDialog.java:409) at org.eclipse.jdt.internal.debug.ui.jres.JREsUpdater.buildWorkspace (JREsUpdater.java:251) at org.eclipse.jdt.internal.debug.ui.jres.JREsUpdater.updateJRESettings (JREsUpdater.java:121) at org.eclipse.jdt.internal.debug.ui.jres.JREsPreferencePage$2.run (JREsPreferencePage.java:133) at org.eclipse.swt.custom.BusyIndicator.showWhile (BusyIndicator.java:84) at org.eclipse.jdt.internal.debug.ui.jres.JREsPreferencePage.performOk (JREsPreferencePage.java:128) at org.eclipse.jface.preference.PreferenceDialog.okPressed (PreferenceDialog.java:778) at org.eclipse.jface.preference.PreferenceDialog.buttonPressed (PreferenceDialog.java:210) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.buttonPressed (WorkbenchPreferenceDialog.java:75) at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:413) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2584) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2262) at org.eclipse.jface.window.Window.runEventLoop(Window.java:670) at org.eclipse.jface.window.Window.open(Window.java:650) at org.eclipse.ui.internal.OpenPreferencesAction.run (OpenPreferencesAction.java:72) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:550) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:502) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent (ActionContributionItem.java:435) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2584) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2262) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1436) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1407) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:244) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:140) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:90) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:280) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:241) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:117) 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.basicRun(Main.java:267) at org.eclipse.core.launcher.Main.run(Main.java:692) at org.eclipse.core.launcher.Main.main(Main.java:676) Caused by: java.lang.OutOfMemoryError The list of projects in my workspace were: debug.core debug.ui jdt.debug.ui jdt.launching pde pde.core pde.runtime pde.ui ui.forms ui.intro
Suspecting this to be a natural consequence of memory leaks in the SDK in this very build.
Wassim: Is this still happening with current builds? If not then will close since the 0413 build was known to have memory leaks, which have since been fixed.
Have not seen this one occur since those doomed builds of mid-April.
Closing... memory leaks in monitors were fixed.