On Mar 19, 2008, at 6:46 AM, Grégory Joseph wrote:
- -Xms sets the initial Java heap size while -Xmx sets the maximum
Java heap size. It doesn't really help setting Xms to a high value.
If you know your application will eventually using the large heap
anyway, I've heard that it does help to set the Xms to the same as
the Xmx value because it avoids the performance-hit associated with
Java growing the heap.
"If you configure the Tomcat JVM with a small starting heap memory
size and a larger maximum heap memory size, the page response time
will suffer somewhat while the Java VM grows the heap size up to the
maximum size -- if it needs to grow the heap -- because it takes some
time to reallocate memory chunks while Tomcat is trying to serve
responses. If you do not want performance to suffer from this, make
sure your -Xms -Xmx switch values are exactly the same memory size so
that the JVM never needs to resize the heap memory during operation."
- Tomcat: The definitive guide, page 52
( see google book version of the above page at: http://tinyurl.com/
29d7a6 )
Ryan
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------