Strange memory behavior in tomcat-5.0.27
Hi, Our application based on Tomcat has a strange memory behavior on Linux (SuSe 8.1 kernel: 2.4.20 #1 SMP). The utility top shows RSS between 132-160MB but SIZE is increasing. After one or two weeks SIZE is approx. 180M and than we get an OutOfMemory exception and SIZE drops to 159M. I have tested the application with Borland's optimizeit but found no memory leak. Any ideas? TC: 5.0.27 Jre: build 1.4.2_06-b03 with the switches: -Djava.awt.headless=true -Xmx75M -XX:MaxHeapFreeRatio=40 -XX:MinHeapFreeRation=60 The script that starts java also contains: export LD_ASSUME_KERNEL=2.2.5 Zsolt Zsolt Koppany Phone: +49-711-722 1874 -- Intland Software GmbH, Schulze-Delitzsch-Strasse 16 D-70565 Stuttgart, Germany Phone: +49-711-722 1873, e-mail:[EMAIL PROTECTED] Fax: +49-711-722 1835 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange memory behavior in tomcat-5.0.27
On Wed, Dec 15, 2004 at 10:22:15AM +0100, Zsolt Koppany wrote: : Our application based on Tomcat has a strange memory behavior on Linux (SuSe : 8.1 kernel: 2.4.20 #1 SMP). The utility top shows RSS between 132-160MB : but SIZE is increasing. After one or two weeks SIZE is approx. 180M and than : we get an OutOfMemory exception and SIZE drops to 159M. : : I have tested the application with Borland's optimizeit but found no memory : leak. Any ideas? If there's no resource leak, then your app just needs more memory. What happens if you increase the heap and do a load test? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Strange memory behavior in tomcat-5.0.27
How can I do a load test? Zsolt -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 1:01 PM To: Tomcat Users List Subject: Re: Strange memory behavior in tomcat-5.0.27 On Wed, Dec 15, 2004 at 10:22:15AM +0100, Zsolt Koppany wrote: : Our application based on Tomcat has a strange memory behavior on Linux (SuSe : 8.1 kernel: 2.4.20 #1 SMP). The utility top shows RSS between 132- 160MB : but SIZE is increasing. After one or two weeks SIZE is approx. 180M and than : we get an OutOfMemory exception and SIZE drops to 159M. : : I have tested the application with Borland's optimizeit but found no memory : leak. Any ideas? If there's no resource leak, then your app just needs more memory. What happens if you increase the heap and do a load test? -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Strange memory behavior in tomcat-5.0.27
I have used Apache Jmeter (http://jakarta.apache.org/jmeter/). This is a great tool, but sometimes a bit slow at sending the concurrent requests. I think they have a networking option to send many concurrent requests from different hosts. Hope this helps... Daniel - Original Message - From: Zsolt Koppany [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 5:20 AM Subject: RE: Strange memory behavior in tomcat-5.0.27 How can I do a load test? Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]