Bug 32900 - Java out of memory problem
Summary: Java out of memory problem
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 RC2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-25 04:46 EST by Juan Cervera CLA
Modified: 2003-02-25 07:33 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.