> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: Seek help for javax.servlet.ServletException: > Java heap space > > Why is it usually better to set -Xms and -Xmx to the > same value ?
It avoids the overhead of expansion and contraction of the heap, including the associated bookkeeping. In this age of inexpensive RAM, there's no point in trying to be conservative. > Also there are some weird problems in running tomcat 6.0.18 > with Jconsole remotely . Only due to firewalls blocking the secondary JMX port. You can run JConsole locally on the target machine and tunnel the output to your display if using Linux. (For Windows, use Terminal Services to run JConsole locally.) There's some overhead incurred on the target machine, but when analyzing heap issues that's not a problem. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]