memory usage rise extremly
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Michael_Wollenhaupt
Posted On:   Saturday, April 28, 2001 03:52 PM

Hello, i have testet some Servlets, and i'm prof that I give all the Readers and Writes free, when a error occurs, so my Servlets are mostly memory leak free. So, when I make a big traffic to my servlets, the memory usage of Tomcat will rise extremly, and after that it won't give these memory free.And so the Server will become slow. Is that a error in Tomcat, or must I set some enviroment in the Tomcat server.xml or so ? I have build some extra Commands in the Serverlet to call System.gc() or System.runFinalization(), but no changes will occurse. I have read about the VM that in some VM it's normal that they give not all the memory free. W. Klum told me that you   More>>

Hello,
i have testet some Servlets, and i'm prof that I give all the Readers
and Writes free, when a error occurs, so my Servlets are mostly memory
leak free.
So, when I make a big traffic to my servlets, the memory usage of
Tomcat will rise extremly, and after that it won't give these memory
free.And so the Server will become slow.
Is that a error in Tomcat, or must I set some enviroment in the Tomcat
server.xml or so ?
I have build some extra Commands in the Serverlet to call System.gc() or
System.runFinalization(), but no changes will occurse.
I have read about the VM that in some VM it's normal that they give not
all the memory free.
W. Klum told me that you can explzit turn the JIT Compiler of , but how
could I do this ?
I have test it all with JDK1.3 , JDK1.3.02 (with CLIENT VM , and SERVER
VM),
on Linux Suse 7.1 and Linux Mandrake 8.0 with Tomcat 3.2.2b2 with ajp12
and ajp13 Protocol over mod_jk, 98 MB RAM and Apache
1.3.17-10/mod_ssl2.7.1-0 and apache 1.3.19-3/mod_ssl 2.8.2-5.
Every time I get the same result.
The server will slow done with lot's of memory usage by Tomcat, the only
way to resolve it is to restart tomcat.
I have produce the high traffic with making a refresh very often.
Has someone the same error, or is it still only a error on my system ?

   <<Less

Re: memory usage rise extremly -- same problem

Posted By:   Martin_Quinn  
Posted On:   Monday, May 7, 2001 04:30 AM

I've got exactly the same issues. In my application I'm pulling back lots of objects that I create from my database (e.g. customer object) though as you keep browsing they are not getting garbage collected. After 5 or 6 hits the memory tops out on my machine (128mb ram) and tomcat takes ages to serve requests from there on.
Have you tried using any other app server?
About | Sitemap | Contact