Steve,

What we did is to start the site up (our sites load and initialize all sorts of stuff on startup), wait till its all done setting itself up, and see what Runtime.totalMemory() is. Use that for -Xms (startup size). This should make the site start quicker because it will need to garbage collect less and allocate new memory chunks less.

For -Xmx I have no particular guidance. You could check totalMemory after a week or so, it depends as much on how much you can spare, what else is on the machine, etc. We just made it big :-)

Someone please correct me if I'm talking rubbish.

Graham.

Steve Harris wrote:
Hi all,

I'me sure this one has been done to death but does anyone have any
guidelines on the settings of -Xms and -Xmx ($CATLINA_OPTS), or how to
derive the optimal setting for these ?

Cheers - Steve Harris

=============================
Steve Harris
Technical Analyst
MYRA Systems Corp.

Phone : 952-6361
Pager : 413-5043
=============================


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to