Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Allocated Heap Size Continuously increase

 
Wong KK
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 :
org.apache.tomcat.util.buf.CharChunk
org.apache.tomcat.util.buf.ByteChunk
org.apache.tomcat.util.buf.MessageBytes
org.apache.tomcat.util.http.MimeHeaderField

Do anyone have similar problem and know how to solve it, please throw me some light.
Thx. in Advance.
 
Wagner Danda
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I�m having the same problem as you. Did you solve it?
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic