Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Memory leaks in Eclipse?
Memory leaks in Eclipse? [message #104338] Tue, 14 October 2003 08:35 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #104364 is a reply to message #104338] Tue, 14 October 2003 10:38 Go to previous messageGo to next message
Eclipse UserFriend
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.


I have also noticed that if you run junit tests or sample apps inside
eclipse, even once they are terminated they hang around. You can delete
these processes by looking in the debugging view in the 'debug' panle
and right clicking - there you get an option to remove terminated processes.

Hope this helps.

Chris
Re: Memory leaks in Eclipse? [message #104418 is a reply to message #104338] Tue, 14 October 2003 11:32 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:How do I get the debugger not to step into system classes?
Next Topic:code formatting: changing the use of fully qualified names into imports
Goto Forum:
  


Current Time: Sun Jul 13 13:55:19 EDT 2025

Powered by FUDForum. Page generated in 0.04650 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top