« Return to Thread: Question regarding Tomcat memory

RE: Question regarding Tomcat memory

by Caldarale, Charles R :: Rate this Message:

Reply to Author | View in Thread

> From: Harish S Rathod [mailto:harishjss2002@...]
> Subject: Question regarding Tomcat memory

First, use a different mailer or send only in plain text; whatever you're using is encoding even standard ASCII characters like "=".

> To make our tomcat  heap size memory  to 8 GB we have set the below=20

How much RAM and swap space do you have on the system?  What JVM are you using?  To go over 1.8 GB you need a 64-bit JVM.

> $CATALINA_OPTS -Xms8192M -Xmx8192M -Xss1024K=20

Setting -Xss is usually not useful, unless your application is very, very strange.

> as we are observing the maximum heap size memory for
> tomcat gets a reduced bit to around 7756736K and it
> keeps flucatating.

What are you using to do the "observing"?  When I run JConsole targeting a JVM with the exact settings you specify, it says this about the heap:

Committed:  8,039,104 kbytes
      Max:  8,039,104 kbytes

This is on a SuSE 10 system, with JDK 1.6.0_07, in server mode.

 - 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@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Question regarding Tomcat memory