• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat memory leak

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm currently running Tomcat 4.0.4 on Windows XP in my development environment, and Tomcat 4.0.6 on FreeBSD in my production environment. Tomcat is consistently running out of memory on the production machine, with the default memory settings.
I tried setting memory bounds in my development environment using -Xms and -Xmx to limit the memory in catalina.bat when Tomcat is actually getting launched, but it doesn't seem to be having any effect. The memory used by Tomcat grows past the cap, and it doesn't appear like it ever hits the ceiling of the JVM.
Has anyone else encountered this problem, or know what might be happening?
Thanks in advance, Brian
 
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
There is a 'known' memory leak when Tomcat compiles JSP's because of a memory leak in the compiler.

If you have a LOT of deployed JSPs in your production environment, this might be one reason.

Other places to look: connection pools, database drivers.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic