Bug 32900

Summary: Java out of memory problem
Product: [Eclipse Project] JDT Reporter: Juan Cervera <jcervera>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 RC2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Juan Cervera CLA 2003-02-25 04:46:48 EST
Hi,
I've been using Eclipse since v2.0. I'm using now M5. Sometimes it keeps on 
giving the following error when building and I need to restart Eclipse:
    java.lang.OutOfMemoryError

I'm running a big project with around 4,200 files. I have 512 MB and 100 MB of 
it are still free. Looking at the Task Manager it says the the Eclipse javaw is 
taking 108 MB of memory.

This problem seemed to be reduced when I was running M4 but seems to be back 
with M5.
I'm not sure if this is a configuration issue or a bug in Eclipse.
Comment 1 Philipe Mulet CLA 2003-02-25 04:56:10 EST
What arguments are you using when running eclipse executable ?

You can tell the Java VM to use more memory, typically we use:
-vmargs -Xms100Mb -Xmx250Mb
Comment 2 Philipe Mulet CLA 2003-02-25 07:33:43 EST
Closing, please reopen if you reproduce with mentionned settings. Also, please 
post related entries found inside <workspace>/.metadata/.log file.