tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: weird memory
Date Tue, 01 Mar 2011 15:20:01 GMT
Hash: SHA1


On 3/1/2011 9:17 AM, Rodrigo Asensio wrote:
> Debian 5
> Tomcat 6 with authbind as described here
> <>now.. I'm
> starting the tomcat with Xmx700m and the /mananger/html shows only 12x as
> max

What does "12x max" mean?

> Free memory: 33.84 MB Total memory: 81.06 MB Max memory: 125.93 MB
> But in the server, the java process (using top) shows that it consumes up to
> 700m, which is OK.

Top shows more than the heap size, which is what you are setting when
you use the -Xm settings.

> But.. the past few days it started to fail when memory
> eater request run (never happened before)
> Is tomcat running really with 128mb instead my 700m ? Does anyone have an
> idea about this issue ?

Looks like it. Try this:

$ ps aux | grep catalina

This should show you the complete command-line for launching Tomcat,
including all JVM settings provided on the command-line. For instance,
mine looks like this:

cschultz 11436  0.0  1.1 244100 83280 pts/3    Sl   Feb01  16:58
/usr/bin/java -Dnop -Xmx64M
- -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
- -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
- -classpath
- -Dcatalina.base=/home/cschultz/.webapps/multipart/8275
org.apache.catalina.startup.Bootstrap start

You can see that I have specified "-Xmx64M" somewhere in my
configuration. Check to see if your command-line has that type of
configuration in there. If it's not there, then you have not configured
Tomcat as you think you have.

Are you using Debian's Tomcat 6 package, or are you running one
downloaded directly from the Apache web site? If you are using Debian's
package, there are a lot of config files and scripts that run that might
be either overriding your settings, or you may not be editing the right

- -chris
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message