harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From will pugh <willp...@sourcelabs.com>
Subject Re: [rant] Memory options in VM -- why is the default not 'unlimited'
Date Mon, 31 Jul 2006 22:19:26 GMT
I would suggest

if -client
    1/2 physical memory available
if -server
    3/4 physical memory available

Seems like when you are using Java to run a client app, you need to play 
more friendly with the apps around you.

If nothing is specified, should probabaly assume -client (since you 
would hope folks are doing some amount of tuning before deploying).


Salikh Zakirov wrote:

>Alex Blewitt wrote:
>>Don't get me wrong; being able to specify minimum/maximum is a
>>reasonable idea for optimising a VM if you know what to put; but by
>>default, there shouldn't be any arbitrary limitations based on the
>>value of a #define constant ...
>So, would you be satisfied if the VM defaulted to, say, 3/4 of total physical memory available?
>(not a #define, but a value detected at startup)
>I would like to get some concrete practical conclusion from the whole discussion.
>Terms of use : http://incubator.apache.org/harmony/mailing.html
>To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>For additional commands, e-mail: harmony-dev-help@incubator.apache.org

Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message