You might also want to try the -Xincgc
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: http://java.sun.com/j2se/1.4/docs/tooldocs/windows/java.html -----Original Message----- From: Marinko, Jeff [mailto:[EMAIL PROTECTED]] Sent: 15 August, 2002 10:49 AM To: Tomcat Users List Subject: Checking Tomcat's Memory Greetings! 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: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>