> From: Rainer Frey (Inxmail GmbH) [mailto:[EMAIL PROTECTED]
> Subject: Re: Question regarding Tomcat memory
>
> AFAIK the default stack size of the JVM on 64bit linux is 2M.

No, it's 1M for Linux (and Solaris) on AMD64 (at least on JDK 6u7) - the same 
as the OP was trying to set.  For Linux IA64 and Windows AMD64, the system 
default is used.

> 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.

While true in theory, it's all virtual space, not RAM, so there's no additional 
contention for pages of physical memory.  The size of the process space in 
64-bit Linux is so huge that you run into the kernel's limit on the number of 
threads long before the stack size has any impact on the available process 
space.

 - 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]

Reply via email to