Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Out of memory
Out of memory [message #88769] Mon, 08 December 2003 22:04 Go to next message
Pierre Belzile is currently offline Pierre BelzileFriend
Messages: 18
Registered: July 2009
Junior Member
I'm on Linux with 1Gb of memory + 2Gb of swap. My Java console claims that
I'm running out of memory(java.lang.OutOfMemoryError).

- are there any options in Eclipse that I can set (e.g., for the Java VM?)
- is there a way to tell Eclipse to ignore (not keep in inventory) some
files? My include directory is a bunch of soft links to each source
directory where the *.cc and *.h are mixed. I fear that it doubles the
number of inventoried files. I saw options for CVS but I think I need
something stronger. My "bin" directory is also large as well as "lib"
directory.

Any hints are welcomed.

Cheers, Pierre
Re: Out of memory [message #88784 is a reply to message #88769] Tue, 09 December 2003 01:51 Go to previous message
Pierre Belzile is currently offline Pierre BelzileFriend
Messages: 18
Registered: July 2009
Junior Member
I found the following from the main Eclipse group:
Memory can be controlled by adding: -vmargs -Xmx512M

Seems to help. Cheers, Pierre


Pierre Belzile wrote:

> I'm on Linux with 1Gb of memory + 2Gb of swap. My Java console claims that
> I'm running out of memory(java.lang.OutOfMemoryError).
>
> - are there any options in Eclipse that I can set (e.g., for the Java VM?)
> - is there a way to tell Eclipse to ignore (not keep in inventory) some
> files? My include directory is a bunch of soft links to each source
> directory where the *.cc and *.h are mixed. I fear that it doubles the
> number of inventoried files. I saw options for CVS but I think I need
> something stronger. My "bin" directory is also large as well as "lib"
> directory.
>
> Any hints are welcomed.
>
> Cheers, Pierre
Previous Topic:Eclipse 3.0M5 GTK/CDT 2.0M5 debug problem
Next Topic:external debugger
Goto Forum:
  


Current Time: Sat Nov 09 00:01:23 GMT 2024

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

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

Back to the top