JEP 141: Increase the Client VM's Default Heap Size

Jon Masamitsu jon.masamitsu at
Tue Feb 28 16:15:21 UTC 2012


We've talked about the fallback position of trying to reserve
less that the default (say, 1G).  Would you want it all to be done
silently?  Or would you want some warning that your
not getting the whole 1G?   Or would you want a flag
(yet another flag, ugh) that you turn on that would cause
a warning?


On 02/28/12 00:57, Sunny Chan wrote:
> Michael Bien<mbien at ...>  writes:
>>    On 02/22/2012 12:48 AM, mark.reinhold at ... wrote:
>>> Posted:
>>> - 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:
> 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