Could be nice if the eclipse startup script contained some code to detect the memory size,
and according to that
set the permsize to mem/10 and Xms and Xmx to mem/2 or something close to that.
Just my 2 cents...
On Mon, 10 Sep 2007 13:50:50 -0400
Andrew Overholt <overholt(a)redhat.com> wrote:
* Ismael Juma <mlists(a)juma.me.uk> [2007-08-31 17:21]:
> On Fri, 2007-08-31 at 17:04 -0400, Andrew Overholt wrote:
> > FWIW, when I use IcedTea I use:
> > -Xms512m
> > -Xmx512m
> > -XX:PermSize=128m
> > -XX:MaxPermSize=128m
> I would suggest a lower -Xms and no -XX:PermSize (causing the starting
> size to be the default, 64MB for the 32-bit VM). The initial sizes don't
> need to be too large since some people may have less memory and/or small
> workspaces. It's just important to set a reasonable maximum to avoid
> OOMs (of the heap or permanent generation). Also, it's worth considering
> that the 64-bit version needs more memory.
Thanks for the suggestions, Ishmael.
I just ran into java.lang.OutOfMemoryError: PermGen space when
synchronizing a project in Eclipse.
Does the IcedTea team have any suggestions here?