Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 66606 invoked by uid 500); 13 Aug 2001 13:04:33 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 66599 invoked from network); 13 Aug 2001 13:04:33 -0000 Received: from unknown (HELO snax.thwt.com) (216.215.228.131) by h31.sny.collab.net with SMTP; 13 Aug 2001 13:04:33 -0000 Received: by SNAX with Internet Mail Service (5.5.2448.0) id ; Mon, 13 Aug 2001 08:25:43 -0400 Message-ID: From: Randy Layman To: tomcat-user@jakarta.apache.org Subject: RE: Growing Memory Date: Mon, 13 Aug 2001 08:25:42 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N You could try one of the profiling tools out there (we use a very old version of OptimizeIt) to spot where the memory is going and how it got there. A few things that could be your problem, though: 1. You are putting very large objects into sessions and your sessions have long or no expiration times 2. You have an object with a static variable that you keep adding to (map, list, set, etc) and aren't ever clearing 3. You have some form of buffered IO where the buffer isn't being flushed. Realize that these are the end causes of your memory leak. You might be using some library (like JDBC drivers) that could cause one or more of these issues if they are miss configured. If its possible, I would suggest that you try using your servlets one at a time and spot which servlet is causing the memory to go up. Randy > -----Original Message----- > From: Scott Weaver [mailto:sweaver@wirelesstelematics.com] > Sent: Monday, August 13, 2001 9:00 AM > To: tomcat-user@jakarta.apache.org > Subject: Growing Memory > > > > I've been using Tomcat with IIS 5.0 on a dual processor > machine running > Windows 2000. > > The memory usage just seems to grow over use and I'm not sure > where to look > for problems. > > Anyone have any experience with this problem? > And/Or advice on what to look at to try to diagnose this problem? > > Thanks for the help, > Scott >