File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes tomcat on linux - memory consumption Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat on linux - memory consumption" Watch "tomcat on linux - memory consumption" New topic
Author

tomcat on linux - memory consumption

avs jayan
Greenhorn

Joined: Aug 08, 2002
Posts: 3
hi all,
i face problem related to tomcat on linux. its seems to b some stuff of memory leaking
I have a ticker running on client machines and these tickers request for data in every two minutes. On server side we have tomcat4 serving servlet/jsps and data is fetched from oracle (9i)database.
its seen that the on startup tomcat will be having 20 threads with memory utilization of 3.8%. But when requests come, gradually the memory utilization of all threads increase simultaneously. They never tend to come down. So after a short span of time the tomcat hangs.
On the java classes in server all resultsets and statements objects used are closed and set to null.
connections are handled thru connection pooling
similar problems are seen on oracle also . here if we use profiler we can see that the free memory % is decreasing and shared memory % is increasing........
can any one suggest some ideas to overcome this or possibilities for having such syndromes
thanks in advance


Sree
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
You could try running a stack trace next time Tomcat hangs to get more info.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat on linux - memory consumption