File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes JVM/Tomcat performance tuning Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Performance
Reply Bookmark "JVM/Tomcat performance tuning" Watch "JVM/Tomcat performance tuning" New topic
Author

JVM/Tomcat performance tuning

Matt Fury
Greenhorn

Joined: Mar 04, 2002
Posts: 23
This is kind of a cross post between Tomcat and JVM tuning. I am currently running Tomcat 4.1.24 in production but I've noticed during the execution of the webapps that Tomcat/JVM uses a lot of memory. Not I "THINK" I've tuned it so that the JVM will use more memory if needed but I am not sure. Sometimes I can't tell if the JVM is doing a good job cleaning up after itself or not. Just in case, the application is written to set the variables to NULL anyway. Theoretically, JSP's should clean up after themselves (or the JVM) unlike an application, correct?


-------<br />Sun Certified Java 2 Programmer<br /><a href="http://www.lfhsolutions.com" target="_blank" rel="nofollow">http://www.lfhsolutions.com</a><br />matt@lfhsolutions.com
Jack Shirazi
Author
Ranch Hand

Joined: Oct 26, 2000
Posts: 96
Run the JVM with the -verbosegc option, or even better the -Xloggc option, to log the garbage collection statistics. Tne analyze those statistics. The GC stat displayers like GcViewer and HPjtune help.
--Jack Shirazi
JavaPerformanceTuning.com
 
 
subject: JVM/Tomcat performance tuning
 
Threads others viewed
Use OptimizeIt for ...
tunning JVM for better memory usage
JVM is taking memory and not releasing it
Out of Memory with high Free Memory
Jsp process creates pipes running under tomcat??
IntelliJ Java IDE