[fedora-java] default vm memory settings for fedora eclipse

Andrew Overholt overholt at redhat.com
Mon Sep 10 17:50:50 UTC 2007


* Ismael Juma <mlists at 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?

Thanks,

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-devel-java-list/attachments/20070910/3890cd27/attachment.sig>


More information about the fedora-devel-java-list mailing list