Dear user080701,

I am using the tomcat manager to monitor the health of the tomcat server. I found that the session of JVM, it shown the following information:

JVM
Free memory: 38.13 MB Total memory: 111.18 MB Max memory: 1365.37 MB

As David pointed out, this is probably measured against the committed memory, not the max memory.

I just wrote a small post about memory leaks http://java-monitor.com/forum/showthread.php?t=150 In that post I also talk about the difference between maximum memory and committed memory.

Is my tomcat in good condition or not?

It seems that the free memory is only 38.13MB?

I have added the following lines in my startup.sh
export JAVA_HOME=/opt/jdk
export JAVA_OPTS=-Xmx1536m
export CATALINA_HOME=/opt/tomcat

How to know whether my tomcat can use the memory or not?


You need some form of monitoring that plots max, committed and used memory over time, rather than give you samples in numeric format.

You could hook your Tomcat up to Java-monitor. Java-monitor tracks you memory usage over two days, so you can see how the memory usage develops over time. The graphs in the post are made with Java-monitor.

To use Java-monitor just register on the Java-monitor forum and download the probe once you are logged in.
--
Kees Jan

http://java-monitor.com/forum/
kjkos...@kjkoster.org
06-51838192

The secret of success lies in the stability of the goal. -- Benjamin Disraeli


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

Reply via email to