Memory leaks in Eclipse? [message #104338] |
Tue, 14 October 2003 08:35  |
Eclipse User |
|
|
|
Hi,
I have been using Eclipse for quite some time now on windows XP. After a
couple of hours of work with 2.2.1 Eclipse runs out of memory, and
requires a restart.
Today I installed 3.0 RC4 hoping that perhaps this memory leak problem has
been addressed, however it seems that it is only exasperated. I get out of
memory errors every 15 minutes now.
I can see this in the log file:
!SESSION Oct 14, 2003 14:27:22.214
---------------------------------------------
java.version=1.4.1_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install
file:C:/Program Files/eclipse/
!ENTRY org.eclipse.ui 4 4 Oct 14, 2003 14:27:22.214
!MESSAGE Exception in org.eclipse.ui.actions.BuildAction. run:
java.lang.OutOfMemoryError
!ENTRY org.eclipse.ui 4 4 Oct 14, 2003 14:27:22.229
!MESSAGE Exception in org.eclipse.ui.actions.BuildAction. run:
java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError
Is this a known issue? Is anything being done about it?
Thanks,
Yoav
|
|
|
Re: Memory leaks in Eclipse? [message #104359 is a reply to message #104338] |
Tue, 14 October 2003 09:04   |
Eclipse User |
|
|
|
Originally posted by: hcs33.egon.gyaloglo.hu
Hi,
1. Did you use -vmargs to specify the max amount of memory Eclipse uses? If
you don't, the default settings are too low for Eclipse (64Mb). Try to use
i.e. 'eclipse -vmargs -Xmx256M'.
2. If you run ant scripts regularly you should run ant in a separate vm (it
is a new 3.0 feature).
HTH,
Regards,
Csaba
"Yoav Frandzel" <yoav.frandzel@intel.com> wrote in message
news:bmgqin$bij$1@eclipse.org...
> Hi,
> I have been using Eclipse for quite some time now on windows XP. After a
> couple of hours of work with 2.2.1 Eclipse runs out of memory, and
> requires a restart.
> Today I installed 3.0 RC4 hoping that perhaps this memory leak problem has
> been addressed, however it seems that it is only exasperated. I get out of
> memory errors every 15 minutes now.
> I can see this in the log file:
> !SESSION Oct 14, 2003 14:27:22.214
> ---------------------------------------------
> java.version=1.4.1_02
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86 -install
> file:C:/Program Files/eclipse/
> !ENTRY org.eclipse.ui 4 4 Oct 14, 2003 14:27:22.214
> !MESSAGE Exception in org.eclipse.ui.actions.BuildAction. run:
> java.lang.OutOfMemoryError
> !ENTRY org.eclipse.ui 4 4 Oct 14, 2003 14:27:22.229
> !MESSAGE Exception in org.eclipse.ui.actions.BuildAction. run:
> java.lang.OutOfMemoryError
> !STACK 0
> java.lang.OutOfMemoryError
>
> Is this a known issue? Is anything being done about it?
>
> Thanks,
> Yoav
>
|
|
|
|
Re: Memory leaks in Eclipse? [message #104418 is a reply to message #104338] |
Tue, 14 October 2003 11:32   |
Eclipse User |
|
|
|
We had an issue where it helped to delete the .metadata folder which was
>120MB.
"Yoav Frandzel" <yoav.frandzel@intel.com> wrote in message
news:bmgqin$bij$1@eclipse.org...
> Hi,
> I have been using Eclipse for quite some time now on windows XP. After a
> couple of hours of work with 2.2.1 Eclipse runs out of memory, and
> requires a restart.
> Today I installed 3.0 RC4 hoping that perhaps this memory leak problem has
> been addressed, however it seems that it is only exasperated. I get out of
> memory errors every 15 minutes now.
> I can see this in the log file:
> !SESSION Oct 14, 2003 14:27:22.214
> ---------------------------------------------
> java.version=1.4.1_02
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86 -install
> file:C:/Program Files/eclipse/
> !ENTRY org.eclipse.ui 4 4 Oct 14, 2003 14:27:22.214
> !MESSAGE Exception in org.eclipse.ui.actions.BuildAction. run:
> java.lang.OutOfMemoryError
> !ENTRY org.eclipse.ui 4 4 Oct 14, 2003 14:27:22.229
> !MESSAGE Exception in org.eclipse.ui.actions.BuildAction. run:
> java.lang.OutOfMemoryError
> !STACK 0
> java.lang.OutOfMemoryError
>
> Is this a known issue? Is anything being done about it?
>
> Thanks,
> Yoav
>
|
|
|
Re: Memory leaks in Eclipse? [message #104903 is a reply to message #104338] |
Wed, 15 October 2003 02:23  |
Eclipse User |
|
|
|
Thanks for your suggestions. The first one seems to be working.
Yoav Frandzel wrote:
> Hi,
> I have been using Eclipse for quite some time now on windows XP. After a
> couple of hours of work with 2.2.1 Eclipse runs out of memory, and
> requires a restart.
> Today I installed 3.0 RC4 hoping that perhaps this memory leak problem has
> been addressed, however it seems that it is only exasperated. I get out of
> memory errors every 15 minutes now.
> I can see this in the log file:
> !SESSION Oct 14, 2003 14:27:22.214
> ---------------------------------------------
> java.version=1.4.1_02
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86 -install
> file:C:/Program Files/eclipse/
> !ENTRY org.eclipse.ui 4 4 Oct 14, 2003 14:27:22.214
> !MESSAGE Exception in org.eclipse.ui.actions.BuildAction. run:
> java.lang.OutOfMemoryError
> !ENTRY org.eclipse.ui 4 4 Oct 14, 2003 14:27:22.229
> !MESSAGE Exception in org.eclipse.ui.actions.BuildAction. run:
> java.lang.OutOfMemoryError
> !STACK 0
> java.lang.OutOfMemoryError
> Is this a known issue? Is anything being done about it?
> Thanks,
> Yoav
|
|
|
Powered by
FUDForum. Page generated in 0.04650 seconds