Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 45413

Summary: OutOfMemoryError while checking out modules
Product: [Eclipse Project] Platform Reporter: Douglas Pollock <douglas.pollock>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description Douglas Pollock CLA 2003-10-22 15:23:28 EDT
I'm loathe to report OutOfMemoryErrors as bug, as they can easily be fixed by
increasing the heap size.  However, using 2.1.2RC1 for Linux/GTK, I got an
OutOfMemoryError while checking out eclipse modules.  I was checking them out
one by one from the CVS exploring perspective (over ext).

After each check out, the workspace would automatically rebuild (which was quite
time consuming).  After a while, one of the rebuilds failed with an
OutOfMemoryError.

Only 641 errors and even less warnings existed in the workspace.  It seems weird
that an OutOfMemoryError would occur.
Comment 1 Philipe Mulet CLA 2003-10-23 09:34:43 EDT
The memory consumption has nothing to do with the amount of problems reported. 
Did you launch Eclipse with memory settings (by default it will depend on the 
default of the chosen VM). 

Specify command line arguments "-vmArgs -Xmx256MB" to allow Eclipse to use more 
memory.
Comment 2 Philipe Mulet CLA 2003-10-23 09:34:56 EDT
Ok to close?
Comment 3 Douglas Pollock CLA 2003-10-23 11:08:12 EDT
I guess I'm just being picky.  I suppose my argument is of the form: if 
Eclipse will quickly need more memory than the default amount (64MB on Sun's 
1.4.x JDK), then why doesn't the eclipse executable set it higher?

Maybe just a pipe dream, but it would nicer if Eclipse "just worked".  :P
Comment 4 Philipe Mulet CLA 2003-10-23 11:58:38 EDT
Apparently there is a technical limitation on eclipse executable, though I 
agree with you that we shouldn't have to explain this detail over and over 
again...

Moving to platform.
Comment 5 John Arthorne CLA 2003-10-23 16:56:36 EDT

*** This bug has been marked as a duplicate of 33972 ***