JEP 141: Increase the Client VM's Default Heap Size
Sunny Chan
openjdk at sunnychan.hk
Tue Feb 28 08:57:54 UTC 2012
Michael Bien <mbien at ...> writes:
>
> On 02/22/2012 12:48 AM, mark.reinhold at ... wrote:
> > Posted: http://openjdk.java.net/jeps/141
> >
> > - Mark
> >
> additional risks:
> - JVM may not be able to start
> - could contribute to the false impression that java requires a lot of
> memory to run (JVMs usually don't like to give memory back to the OS
> once its in use)
>
> best regards,
> michael
>
The "JVM may not be able to start" risk is particularly important to think
about.
At work we uses Citrix on Windows Servers and Citrix tends to fragment the
address space by defining DLL's base address at location which breaks up the
32bit address space - an example of the issue is specified here:
http://support.citrix.com/article/CTX115868)
We probably want an algorithm to try a lower default -Xmx value if there isn't a
large continuous block available for -Xmx1G.
More information about the hotspot-gc-dev
mailing list