increase -Xms to -Xmx

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

increase -Xms to -Xmx

Adam Heath-2
http://java.sun.com/docs/hotspot/gc1.4.2/faq.html says that the client
vm will tend to free soft references first, before increasing the
heap, while the server vm will increase the heap first.

Seeing that client/server vm changes other defaults, I'm thinking
about setting -Xms to be the same as -Xmx, so that soft references
don't get cleared as often.  Java will then still automatically pick
the appropriate client/server default.

Anyone else agree?