> From: Harish S Rathod [mailto:[EMAIL PROTECTED]
> Subject: Re: Question regarding Tomcat memory
>
> -Xms8192M -Xmx8192M -Xss1024K -XX:PermSize=64m -XX:MaxPermSize=256m
> -Dfile.encoding=Cp1252

That's what I surmised.

> Please suggest is this ok ?

As long as you have the RAM to hold that much heap (plus the other memory 
required by the process), it should be o.k.  If you don't have at least 9 GB of 
RAM, you're going to be paging like mad, which will absolutely kill performance.

Again, setting -Xss is usually pointless.  I would set PermSize to the same 
value as MaxPermSize, just to avoid unnecessary expansion and contraction of 
the PermGen.

> - Well we are using 64 bit JDK

Which one?

> - We are prinitng the heap mem using Log 4J utitiy in the
> apllication logs.

I don't know how log4j determines that value; what is shown by JConsole or 
LambdaProbe?  (The latter can be found at www.lambdaprobe.org.)

 - 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