Out of memory in E3.0 [message #270390] |
Tue, 07 September 2004 09:03  |
Eclipse User |
|
|
|
I have got this error message into log and Eclipse disappears:
!ENTRY org.eclipse.ui 4 0 IX 07, 2004 14:47:31.937
!MESSAGE java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError
!SESSION IX 07, 2004
14:52:54.890 ----------------------------------------------
eclipse.buildId=I200406251208
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=cs_CZ
So I have added -vmargs -Xmx512 into command line to run Eclipse with larger
heap (I have 1GB physical RAM). But Eclipse can't start, this message
apperas in log immediately after attempt to run Eclipse:
!ENTRY System Bundle 0 0 IX 07, 2004 14:52:54.890
!MESSAGE FrameworkEvent.ERROR
!STACK 0
java.lang.OutOfMemoryError
!SESSION Tue Sep 07 14:52:55 CEST
2004 -----------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 IX 07, 2004 14:52:55.203
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.OutOfMemoryError
I tried -Xmx386, -Xmx256, but nothing new. Can't start Eclipse with larger
heap. If I start Eclipse without explicitly defined heap, it can collapse
after several hours again (I have project with about 4000 Java classes).
System is WinXP and it looks, there is about 700MB free physical memory.
Where is problem? What I'm doing wrong?
Thanks.
Martin
|
|
|
Re: Out of memory in E3.0 [message #270394 is a reply to message #270390] |
Tue, 07 September 2004 09:34   |
Eclipse User |
|
|
|
Originally posted by: hcs33.egon.gyaloglo.hu
Hi,
You have to append a M (-Xmx512M) for specifying heap size with MB.
The -Xmx512 set the maximum heap size to 512 bytes :)
HTH,
Regards,
Csaba
"Maple" <maple@seznam.cz> wrote in message news:chkbcn$s88$1@eclipse.org...
> I have got this error message into log and Eclipse disappears:
>
> !ENTRY org.eclipse.ui 4 0 IX 07, 2004 14:47:31.937
> !MESSAGE java.lang.OutOfMemoryError
> !STACK 0
> java.lang.OutOfMemoryError
> !SESSION IX 07, 2004
> 14:52:54.890 ----------------------------------------------
> eclipse.buildId=I200406251208
> java.version=1.4.2_03
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=cs_CZ
>
>
> So I have added -vmargs -Xmx512 into command line to run Eclipse with
larger
> heap (I have 1GB physical RAM). But Eclipse can't start, this message
> apperas in log immediately after attempt to run Eclipse:
>
>
> !ENTRY System Bundle 0 0 IX 07, 2004 14:52:54.890
> !MESSAGE FrameworkEvent.ERROR
> !STACK 0
> java.lang.OutOfMemoryError
> !SESSION Tue Sep 07 14:52:55 CEST
> 2004 -----------------------------------------
> !ENTRY org.eclipse.core.launcher 4 0 IX 07, 2004 14:52:55.203
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.OutOfMemoryError
>
>
> I tried -Xmx386, -Xmx256, but nothing new. Can't start Eclipse with larger
> heap. If I start Eclipse without explicitly defined heap, it can collapse
> after several hours again (I have project with about 4000 Java classes).
> System is WinXP and it looks, there is about 700MB free physical memory.
>
> Where is problem? What I'm doing wrong?
>
> Thanks.
> Martin
>
>
|
|
|
Re: Out of memory in E3.0 [message #270400 is a reply to message #270394] |
Tue, 07 September 2004 10:02  |
Eclipse User |
|
|
|
Yeah!
I have always said, that after ten hard programming hours you don't know,
which side of your shorts is the right one, much less setting up properly
JVM arguments... :-)
Thank you very much.
Martin
"Horv
|
|
|
Powered by
FUDForum. Page generated in 0.03624 seconds