Howdy, A couple of notes: 1. Could it possibly be that your application requires more than 64MB of RAM? 30000 visits is a lot in some contexts. Profile your application and run some stress tests (hopefully on a test server, not the production one ;)) to determine the real memory needs. Look for memory leaks while you're at it.
2. There have been some discussions on this (and other) mailing lists regarding the inaccuracy of Linux memory usage reporting mechanisms when it comes to Java. Most of the issues stem from the fact separate JVM threads are represented as separate OS-level processes in Linux, though that's not really the case, resulting in misleading reports from top, vmstat, meminfo, etc. Search the list archives for more information. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Piotr Stanek [mailto:[EMAIL PROTECTED]] >Sent: Thursday, February 06, 2003 6:07 AM >To: [EMAIL PROTECTED] >Subject: Problem with memory management useing tomcat > >Hi! > >I have a problem with memory managament. I have an application (content >management of art portal) running on tomcat 4.1.18 and useing mysql 3.23. >The application is running on a linux server (Redhat 7.1, RAM 512 Mb). >I run tomcat with options -Xmx64 -Xms32 and after one day of running the >application (30,000 visits) the system is going slower and slower. >Finally I have some exceptions "Out of memory". >Tomact use about 128 Mb, mysql about 64 Mb and the rest of memory is used >in "cached memory". > >The meminfo file: > > total: used: free: shared: buffers: cached: >Mem: 525697024 452603904 73093120 0 41660416 193277952 >Swap: 542826496 172032 542654464 >MemTotal: 513376 kB >MemFree: 71380 kB >MemShared: 0 kB >Buffers: 40684 kB >Cached: 188708 kB >SwapCached: 40 kB >Active: 318668 kB >Inact_dirty: 18444 kB >Inact_clean: 75728 kB >Inact_target: 82568 kB >HighTotal: 0 kB >HighFree: 0 kB >LowTotal: 513376 kB >LowFree: 71380 kB >SwapTotal: 530104 kB >SwapFree: 529936 kB > >Any ideas what may cause this problem? > > >Thanks, > >Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]