Thanks Chuck. But if I change the settings in catalina.bat to:

set CATALINA_OPTS=%CATALINA_OPTS% -Xms128m -Xmx768m -XX:MaxPermSize=128m

In Tomcat Manager I see:

Free memory: 97.90 MB Total memory: 122.68 MB Max memory: 227.56 MB

Shouldn't total or max memory have a higher reading?

-----Original Message-----
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] 
Sent: 09 Dec 2011 15 03
To: Tomcat Users List
Subject: RE: Tomcat memory allocation

> From: Martin O'Shea [mailto:app...@dsl.pipex.com]
> Subject: RE: Tomcat memory allocation

> So I could reduce it below 128Mb if I choose. Is there a default 
> value?

Yes - for each platform and JVM type.  Use JConsole on a running JVM to see
what it is.

> A job hung earlier and I wonder if memory was to blame although there 
> is nothing in the system or server logs to say so.

That's what stack traces are for.  Use JConsole or jstack to see what's
going on in a running JVM.  Much better to investigate than throw darts at
the problem and hope you hit the target.

 - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to