Bug 326892 - Frequent OutOfMemory Errors while using Eclipse
Summary: Frequent OutOfMemory Errors while using Eclipse
Status: RESOLVED DUPLICATE of bug 307488
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Java (show other bugs)
Version: Beta 3
Hardware: x86 openSUSE 10.3
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords: Eclipse
Depends on:
Blocks:
 
Reported: 2007-09-20 17:00 UTC by Scott Olcott
Modified: 2007-09-20 21:56 UTC (History)
1 user (show)

See Also:
Found By: Third Party Developer/Partner
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Olcott 2007-09-20 17:00:55 UTC
Hardware:

4gb memory
latest nvidia drivers installed

suse 10.3 beta 2 
java 1.6 (from install)

Whenever running eclipse I always get OutOfMemory errors.  I put the following in /etc/eclipse.conf

VM_ARGS="-Xms128m -Xmx1024m -XX:MaxPermSize=1024m"

After using eclipse for a few minutes it crashes with a heap space OutOfMemory error.

doing ps -aux | grep eclipse shows the following vmargs
-vmargs Xms128m -Xmx1024m -XX:MaxPermSize=1024m

Yet when I go into eclipse-> Help -> About Eclipse Platform -> Configuration Details there is nothing there about vmargs.

On 10.2 when I do that the following line will be there:
eclipse.vmargs=-Xms128m -Xmx1024m -XX:MaxPermSize=1024m

I think that for some reason eclipse is ignoring the command line parameters.

For example when I do the following:
eclipse -data /path/to/different/workspace

It still comes up with the pop up asking me which workspace I want to use. On 10.2 it will just open up eclipse in the the workspace I specified using -data
Comment 1 Scott Olcott 2007-09-20 21:56:15 UTC
This was fixed by Bug #307488, although it hasn't shown up in factory yet.

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