This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Question on JVM memory in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Question on JVM memory in tomcat" Watch "Question on JVM memory in tomcat" New topic
Author

Question on JVM memory in tomcat

Usera User
Greenhorn

Joined: Jul 13, 2005
Posts: 21
Hi,
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

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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Question on JVM memory in tomcat