Community
Participate
Working Groups
I have reproduced this with Eclipse 3.2.2 and 3.3.1 Configuration: Ubuntu Linux 7.04 with all patches. Sun JVM 1.5.0.1 AMD Athlon X2, 2GB RAM (also jrockit-R27.3.1-jre1.5.0_11) See conversation in #eclipse at http://echelog.matzon.dk/logs/browse/eclipse/1191369005 between <jseghers_> and others for context. Using Windows XP Pro with RealVNC to communicate with Linux box. Followed instructions at http://ubuntuforums.org/showthread.php?t=45565 to install x11vnc and autocutsel to get clipboard sharing to work. 1) Open a VNC session to the Linux box 2) With an empty workspace, Eclipse will run. Add an existing CDT project, and open a file. 3) Let Linux system idle for a period of time. I don't believe any interaction with the Windows system is needed during this time, other than have the VNC connection open. I also don't know if even the VNC connection is necessary. 4) return to the Linux session and click in the Project Explorer or the Navigator. An OutOfMemory error like the one below will be generated. 5) Exit Eclipse and attempt to load the same workspace. Sometimes it will load, more often it will fail to load giving similar exceptions. 6) reboot Linux and load same workspace. This will act as steps 1-4 above. The delay needed for step 4 can be anything from a few minutes to a few hours, but seems to grow shorter the longer the situation persists. Immediately after reinstalling Linux I was able to work with the system for a couple of days before running into the problem again. After removing autocutsel and x11vnc from the session autorun, I no longer experience this problem, but I also have lost the capability of cut/paste across VNC. !ENTRY org.eclipse.ui.navigator 4 0 2007-10-10 14:08:17.419 !MESSAGE Requested array size exceeds VM limit !STACK 0 java.lang.OutOfMemoryError: Requested array size exceeds VM limit !ENTRY org.eclipse.ui 4 0 2007-10-10 14:08:17.493 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Requested array size exceeds VM limit) at org.eclipse.swt.SWT.error(SWT.java:3563) at org.eclipse.swt.SWT.error(SWT.java:3481) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) Caused by: java.lang.OutOfMemoryError: Requested array size exceeds VM limit
Sounds similar to bug 205678. Could you attach the .log file from the <workspace>/.metadata directory? Thanks.
Created attachment 80574 [details] .metadata/.log file I concur that this looks like the same as but 205678. I'd searched for autocutsel, but not x11vnc.
Anyway, I don't think CDT can do something about it. Moving to Platform/SWT.
*** This bug has been marked as a duplicate of bug 205678 ***
(In reply to comment #2) > I concur that this looks like the same as but 205678. I'd searched for > autocutsel, but not x11vnc. I misinterpreted "I concur" as "I object". Sorry.