Bugzilla – Bug 326892
Frequent OutOfMemory Errors while using Eclipse
Last modified: 2007-09-20 21:56:15 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
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 ***