> From: Bill Clarke-Fields [mailto:[EMAIL PROTECTED] > Subject: RE: Very Long Full GC after Inactivity > > I'm just throwing ideas out now, but would it help to set a > lower value for the -Xms parameter?
Probably not. For best throughput, you generally want -Xms and -Xmx to be the same, and as large as your environment allows. > Would the JVM shrink the heap size down when usage is > low? (I'm guessing not.) It does, but somewhat erratically. You really need to get a profiler running. > Or, is there a way to schedule (or force) full garbage collections? Not guaranteed. You can call System.gc(), but there's no requirement that the JVM will honor the call (it usually does, though). If you install Lambda Probe (www.lambdaprobe.org), the System Information tab has a Force Garbage Collection link you can try. On the same page, Lambda Probe also has a Memory utilization button, but I don't remember if it works with your somewhat old versions of Tomcat and JVM. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]