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

Jon Masamitsu jon.masamitsu at oracle.com
Wed Feb 22 13:20:00 PST 2012



On 2/22/2012 12:44 PM, Michael Bien wrote:
>
> ...
>
> i am somehow not very comfortable with the fact that hello world or an 
> applet would request 1g from the OS. Are there usecases for 
> applications out there where the developer or admin doesn't know how 
> much memory is needed? If there are, than a default value would not 
> help those much anyway (-> expanding heap needed until system limit is 
> reached). All others set -Xmx  :)

I think the use case is where an applications is deployed to a  variety 
of machines.
Customer A runs on a big machine, gets lots of work thrown at it, wants a
big heap.  Customer B runs on small machines, etc. and wants a small heap.
No one wants to tune if they can help it. :-)

Jon

>
> just wanted to bring this up, you guys are the experts.
>
> regards,
> michael
>
>>
>>
>> Thanks.
>>
>> Jon
>>>
>>> best regards,
>>> michael
>>>
>>
>>
>


More information about the hotspot-gc-dev mailing list