tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Rainer" <>
Subject AW: Memory consumption of Tomcat?
Date Mon, 01 Dec 2008 15:54:13 GMT
Hello Andre,

thx for your explanations and the hint with the "jconsole" tool.
I am already monitoring with it ...

@Chuck: Thank you for your commt. It would be important to be able to plan
the memory consumption of an application in productive environment.
Therefore I am trying to analyze the consumption in the testing environment
as detailed as possible to make a "vague" assumption of the mem-requirements
in productive environment.

Regards, Steafn

-----Urspr√ľngliche Nachricht-----
Von: André Warnier []
Gesendet: Montag, 01. Dezember 2008 16:32
An: Tomcat Users List
Betreff: Re: Memory consumption of Tomcat?

Stefan Rainer wrote:
> Hello,
> analyzing some memory problems I am wondering what's about the
> memory consumption for tomcat.exe shown in the windows task manager?
> - Java Heap size is configured as default (64MB)
> - tomcat uses 150 MB according to windows task manager (win 2000, tomcat
> running as service)
> - Addionally I have a java process using about 15 MB RAM
> What's up with the 150 MB RAM for tomcat.exe?
> Is there any documentation available on that?
I am sure that there is plenty of documentation on that, starting with
what you will find in Google.  But don't expect anything simple.

Tomcat is a Java application. Java uses a lot of memory.  That's a fact
of life, better get used to it. The "heap" memory that you configured
earlier, is only part of the memory used by Java and Java applications.
Also, depending on the machine and the OS, I am never quite sure whether
"128M" means bytes or words..

Think of it this way : Java is a Virtual Machine, running under your OS.
  It insulates the Java applications from the underlying OS and
hardware.  That is why Java applications are multi-platform : they carry
their own platform with them.  The price you pay for that is memory.

Another thing : under Windows and with the standard installation as a
Service, don't get fooled by the name "tomcat.exe".  That is only a
"wrapper" program to make it run as a Windows Service.  Underneath, it
really starts the Java Virtual Machine (java), and the JVM then starts
the application (Tomcat).

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message