• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Allocated Heap Size Continuously increase

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I�m having the same problem as you. Did you solve it?
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic