Wild Sheep
June 12th, 2008, 11:06 PM
This post is to report my findings on how I fixed (so far so good) this issue.
I'm using Ubuntu 8.04 and installed the supported version of the Eclipse IDE.
I kept getting out of memory errors so I edited /usr/lib/eclipse/eclipse.ini
and added the following lines:
-vmargs
-Xms256m
-Xmx1024m
-XX:PermSize=256m
-XX:MaxPermSize=512m
However this had no effect as the launcher runs the script at:
/usr/bin/eclipse
and the eclipse.ini file is ignored.
So, I opened up /usr/bin/eclipse and changed:
VMARGS=""
to:
VMARGS="-Xms256m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
and ran eclipse.
Doing a ps -ef, I verified that these vmargs were used, and it seems to have done the trick.
Wondering if others have seen this and what are the alternative fixes. Thanks.
I'm using Ubuntu 8.04 and installed the supported version of the Eclipse IDE.
I kept getting out of memory errors so I edited /usr/lib/eclipse/eclipse.ini
and added the following lines:
-vmargs
-Xms256m
-Xmx1024m
-XX:PermSize=256m
-XX:MaxPermSize=512m
However this had no effect as the launcher runs the script at:
/usr/bin/eclipse
and the eclipse.ini file is ignored.
So, I opened up /usr/bin/eclipse and changed:
VMARGS=""
to:
VMARGS="-Xms256m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
and ran eclipse.
Doing a ps -ef, I verified that these vmargs were used, and it seems to have done the trick.
Wondering if others have seen this and what are the alternative fixes. Thanks.