tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sexton, George" <>
Subject RE: Checking Tomcat's Memory
Date Thu, 15 Aug 2002 17:54:22 GMT
You might also want to try the


Enable the incremental garbage collector. The incremental garbage collector,
which is off by default, will eliminate occasional garbage-collection pauses
during program execution. However, it can lead to a roughly 10% decrease in
overall GC performance.

switch. The complete docs for the non-standared switches are at:

-----Original Message-----
From: Marinko, Jeff []
Sent: 15 August, 2002 10:49 AM
To: Tomcat Users List
Subject: Checking Tomcat's Memory


I'm running Tomcat 4.0.4 (w/ JDK 1.4, WinNT/2K) and would like to know how
to check Tomcat's memory settings.  I've defined an environment variable (in
Windows) like so:

CATALINA_OPTS=-server -Xms1g -Xmx3g

and from reading previous e-mails on this list, this should set the JVM min
and max heap size, yet how can I verify this?

I'm currently testing a program that takes a considerable amount of memory,
and after getting so many thousand requests (and storing a considerable
amount of data in memory), the performance becomes horrible (3 to 4 times
CPU usage, possibly due to gc looking for more memory?).  I suspect the
memory settings because when the CPU usage starts to spike, the memory usage
tops off and does not appear to go up at all (when it most likely should
continue to go up).

Suggestions appreciated!

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

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

View raw message