« Return to Thread: Question regarding Tomcat memory

Re: Question regarding Tomcat memory

by Rainer Frey-2 :: Rate this Message:

Reply to Author | View in Thread

On Friday 14 November 2008 21:01:40 Caldarale, Charles R wrote:
> > $CATALINA_OPTS -Xms8192M -Xmx8192M -Xss1024K
>
> Setting -Xss is usually not useful, unless your application is very, very
> strange.

AFAIK the default stack size of the JVM on 64bit linux is 2M. This is very
large, and most apps don't need this much, unless they use deeply recursive
algorithms. Setting Xss to a lower value reduces memory footprint of a single
thread, and thus allows for more threads and/or larger heap with same amount
of physical memory.

Regards
Rainer Frey
--
Software Developer

------------------------------------------------------

Inxmail GmbH
Wentzingerstr. 21, 79106 Freiburg, Germany
Tel: +49 761 296979-0, Fax: -9
rainer.frey@..., www.inxmail.de

Handelsregister Freiburg, HRB 5870
Ust.-ID: DE198371679
Geschäftsleitung: Martin Bucher, Peter Ziras

------------------------------------------------------

Inxmail Professional kostenlos testen:
http://www.inxmail.de/jetzt-testen

Tipps und Tricks für E-Mail-Marketers:
http://www.inxmail.de/newsletter

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Question regarding Tomcat memory