tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfredo Alessandrini <alfreal...@gmail.com>
Subject memory heap size
Date Tue, 14 Feb 2012 13:07:21 GMT
Hi,

I'm running tomcat 7.0.25 in a shared server (centOS 64bit).

Memory limit for my account is 256m.

I'm running tomcat with this settings:

export CATALINA_OPTS="-Xms128m -Xmx256m"

export JAVA_OPTS="-Xms128m -Xmx256m"

But the process exceed the limit that I've set:

RSS ELAPSED PID COMMAND
318340 01:14 37152 /home/keol/java/bin/java
-Djava.util.logging.config.file=/home/keol/webapps/tomcat/conf/logging.properties
-Xms64m -Xmx128m
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Xms64m -Xmx128m
-Djava.endorsed.dirs=/home/keol/webapps/tomcat/endorsed -classpath
/home/keol/webapps/tomcat/bin/bootstrap.jar:/home/keol/webapps/tomcat/bin/tomcat-juli.jar
-Dcatalina.base=/home/keol/webapps/tomcat
-Dcatalina.home=/home/keol/webapps/tomcat
-Djava.io.tmpdir=/home/keol/webapps/tomcat/temp
org.apache.catalina.startup.Bootstrap start

There is a way to limit the memory usage?


thanks,

Alfredo

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


Mime
View raw message