Hi, I am trying to debug a memory consumption issue with an application. I would appreciate any help I can get. The application I am debugging is a web application written using j2sdk 1.4.1_02 and struts 1.0.2. The tomcat version I am using is 4.1.27. The backend has a relational database (sybase/oracle) and the database access is through JDBC. The tomcat server is running on Solaris 2.8. The max heap size for the JVM (using -Xmx) is set to 512M. I tried increasing it to 1024M as well. The problem is under reasonably large load, the overall process size of tomcat (reported by top) keeps increasing and eventually tomcat stops responding. I tried running tomcat with OptimizeIt hoping to find out if there are any leaks. When running with OptimizeIt the memory consumption increases much faster than when running without OptimizeIt. At this point OptimizeIt reports that about 300M of heap is being used. But the overall process size is about 900M. I tried turing on the -Xloggc option. The output of -Xloggc also shows that the heap size is well withing the limits. In some cases towards the end of the GC log, I noticed that each GC cycle takes about 17 - 20 secs. Any suggestions regarding how to proceed debugging this problem would be
greatly appreciated. Are there any docs or any white papers that would help understand the relation between the heap and the overall process memory? Thanks Anand ________________________________________________________________________ Anand Narasimhan [EMAIL PROTECTED]
