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

Ismael Juma mlists at juma.me.uk
Fri Aug 31 21:37:32 UTC 2007


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.

Regards,
Ismael




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