File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Allocated Heap Size Continuously increase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Allocated Heap Size Continuously increase" Watch "Allocated Heap Size Continuously increase" New topic

Allocated Heap Size Continuously increase

Wong KK
Ranch Hand

Joined: Jan 15, 2001
Posts: 52
I have a web application running on Apache1.3.20 with mod_ssl+Tomcat3.3+Jdk1.2.2 on Solaris 8.
The allocated heap size of tomcat continuously increase until OutOfMemoryError occurs.
I've used OptimizeIT Profiler to monitor it and discovered that four classes' object instances
continuously increase. They are :

Do anyone have similar problem and know how to solve it, please throw me some light.
Thx. in Advance.
Wagner Danda

Joined: Jul 10, 2001
Posts: 26
I�m having the same problem as you. Did you solve it?

Wagner Danda<br />Sun Certified Programmer for Java 2 Platform
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Using the OptimizeIt Profiler's backtrace ability, you should look for the methods that are creating these objects. They definately appear to be internal to Tomcat, but perhaps they are being created because of your code's use of such objects as session or request.
I agree. Here's the link:
subject: Allocated Heap Size Continuously increase
It's not a secret anymore!