You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Adam Heath <do...@brainfood.com> on 2009/06/30 16:49:58 UTC

increase -Xms to -Xmx

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?