Hi, Search for Java HotSpot on Google and look for the following java options ParallelGC and maxHeapRation. Set the JAVA_OPTS with these and solve the problems.
Regards, NR -----Original Message----- From: Mark Maigatter [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 12:21 PM To: '[EMAIL PROTECTED]' Subject: Java process growth under Linux...leak? We have a Tomcat 5.0.25 based web site for uploading images and assorted files and managing them. We have found that the Java process that Tomcat is running under is gradually growing when repetitively processing files uploaded and stripped out of the form submissions by the Apache FileUpload component. All signs point to a memory leak? Upon the submission of about 500 files we had a 31MB growth in the size of the java process using "top". However, the Sun Java jvmstat shows that the Java heap is staying relatively constant. The "-gc" numbers fluctuate in a manner that shows reasonable garbage collection activity and the total used across the s0/s1/eden/old stay with the range for the initial numbers. My question is what would you recommend to isolate the process growth? Is there a way within Java to see the underlying process growth to help isolate it in the processing cycle? --mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
