- This topic has 7 replies, 4 voices, and was last updated 20 years, 7 months ago by
PHS_NM.
-
AuthorPosts
-
Platform: Windows 2000 Prof
Eclipse: 3.0.0
MyEclipse: 3.8.1
App Server: WebLogic 7.0 SP5
Ram: 1GbSince upgrading to MyEclipse 3.8.0 and now 3.8.1, I have been experience a lot of problems with the IDE running out of memory. I will get a warning displayed saying that there isn’t enough memory and if I want to close the workbench. I never experienced these problems when using the beta versions of 3.8.
I have Eclipse starting with the following settings:
C:\eclipse\eclipse.exe -vm C:\j2sdk1.4.2\jre\bin\javaw.exe -vmargs -Xmx512M
When I get the out of memory warnings I notice that the amount of memory used by eclipse in the windows task list is no where near 512mb, generally it max’s out at just below 200mb. Also when I perform a manual garbage collection through the MyEclipse menu I get what I believe to be inconsistent values reported. The Max Allowable memory size is correct at around 500mb, and the allocate always stays around 30mb, this value never seems to grow?
I have included the Eclipse error log from a typical day, I hope it is useful.
Thanks,
Gordon!SESSION Sep 14, 2004 11:11:54.302 ———————————————
eclipse.buildId=unknown
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US!ENTRY com.ibm.etools.validation 4 0 Sep 14, 2004 11:11:54.302
!MESSAGE
*** ERROR ***: Tue Sep 14 11:11:54 MDT 2004 java.lang.OutOfMemoryError!ENTRY com.ibm.etools.validation 4 0 Sep 14, 2004 11:16:45.440
!MESSAGE
*** ERROR ***: Tue Sep 14 11:16:45 MDT 2004 java.lang.OutOfMemoryError!ENTRY com.ibm.etools.validation 4 0 Sep 14, 2004 11:18:01.209
!MESSAGE
*** ERROR ***: Tue Sep 14 11:18:01 MDT 2004 java.lang.OutOfMemoryError!ENTRY org.eclipse.ui 4 4 Sep 14, 2004 11:18:55.47
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 Sep 14, 2004 11:18:55.57
!MESSAGE java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError!ENTRY com.ibm.etools.validation 4 0 Sep 14, 2004 11:19:21.304
!MESSAGE
*** ERROR ***: Tue Sep 14 11:19:21 MDT 2004 java.lang.OutOfMemoryError!ENTRY org.eclipse.ui 4 4 Sep 14, 2004 11:19:22.526
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 Sep 14, 2004 11:19:22.526
!MESSAGE java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError!ENTRY org.eclipse.ui 4 4 Sep 14, 2004 11:19:48.914
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 Sep 14, 2004 11:19:48.914
!MESSAGE java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError
!SESSION Tue Sep 14 11:19:57 MDT 2004 ——————————————
!ENTRY org.eclipse.core.launcher 4 0 Sep 14, 2004 11:19:57.717
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.OutOfMemoryError!SESSION Sep 14, 2004 13:31:45.347 ———————————————
eclipse.buildId=unknown
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US!ENTRY org.eclipse.ui 4 4 Sep 14, 2004 13:31:45.347
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 Sep 14, 2004 13:31:45.347
!MESSAGE Failed to execute runnable (java.lang.OutOfMemoryError)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError)
at org.eclipse.swt.SWT.error(SWT.java:2691)
at org.eclipse.swt.SWT.error(SWT.java:2616)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:109)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)!ENTRY org.eclipse.ui 4 4 Sep 14, 2004 13:31:45.347
!MESSAGE *** SWT nested exception!ENTRY org.eclipse.ui 4 0 Sep 14, 2004 13:31:45.357
!MESSAGE java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError!ENTRY com.ibm.etools.validation 4 0 Sep 14, 2004 13:31:45.367
!MESSAGE
*** ERROR ***: Tue Sep 14 13:31:45 MDT 2004 java.lang.OutOfMemoryError!ENTRY org.eclipse.ui 4 4 Sep 14, 2004 13:32:28.740
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 Sep 14, 2004 13:32:28.740
!MESSAGE java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError!ENTRY org.eclipse.ui 4 4 Sep 14, 2004 13:32:45.394
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 Sep 14, 2004 13:32:45.404
!MESSAGE java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError
!SESSION Tue Sep 14 13:32:53 MDT 2004 ——————————————
!ENTRY org.eclipse.core.launcher 4 0 Sep 14, 2004 13:32:53.806
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.OutOfMemoryError!SESSION Sep 14, 2004 15:06:25.665 ———————————————
eclipse.buildId=unknown
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US!ENTRY com.ibm.etools.validation 4 0 Sep 14, 2004 15:06:25.665
!MESSAGE
*** ERROR ***: Tue Sep 14 15:06:25 MDT 2004 java.lang.OutOfMemoryError!ENTRY com.ibm.etools.validation 4 0 Sep 14, 2004 15:09:32.93
!MESSAGE
*** ERROR ***: Tue Sep 14 15:09:32 MDT 2004 java.lang.OutOfMemoryError!ENTRY org.eclipse.ui 4 4 Sep 14, 2004 15:15:19.303
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 Sep 14, 2004 15:15:19.313
!MESSAGE java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError!ENTRY org.eclipse.osgi Sep 14, 2004 15:15:47.343
!MESSAGE An unexpected runtime error has occurred. The application will terminate.
!STACK 0
java.lang.OutOfMemoryError
Lee HarringtonMemberI too have been getting this error of late. Never used to.
Lee
Riyad KallaMemberGuys, we would encourage you to turn off JSP validation (Window > Prefs > MyEclipse > Validation) until we get validation fixed up some more. 3.8.2 will introduce some more fixes and optimizations but admitedly it still has some work to be done on it.
You can still invoke validation manually via the right-click menu on the JSP page.
qcambel,
try and change your args to this and see what happens:C:\eclipse\eclipse.exe -vm C:\j2sdk1.4.2\jre\bin\javaw.exe -vmargs -Xms256m -Xmx512m
I changed the args to run eclipse to what you suggested and instead of the ide giving me an out of memory warning it just goes ahead and terminates the program without any notice.
Therefore, I turned off the JSP validation and that has made the ide very stable.
Thanks, I will eagerly await 3.8.2.
Riyad KallaMemberI changed the args to run eclipse to what you suggested and instead of the ide giving me an out of memory warning it just goes ahead and terminates the program without any notice.
What?! This should never happen, using MyEclipse or any other plugin. Did you get any sort of “JVM Exit Notice” dialog after Eclipse died? Any errors messages in your log file?
I can’t remember now. Let me turn JSP validator back on and see if I can get it to do it again, and if so I will send on the log information.
Scott AndersonParticipantThere’s no need to provide us any more information on this one. 3.8.2 addresses the memory issue and will greatly stabilize this type of behavior.
Ok, no problem, thanks.
-
AuthorPosts