ApacheCon NA 2010 Session
New memory leak prevention and detection features in Tomcat 7
- Mark Thomas
- Fri, 05 November 2010 10:00
- No Materials Available
It is all too easy to trigger a memory leak within a web application, particularly in PermGen when the application is reloaded. These leaks are often the unintended and unexpected consequences of using a library or even parts of the standard Java APIs. This session will explore the various ways these leaks can be triggered, how to diagnose them when they occur and the techniques that can be used to avoid them. The session will be based around the successful memory leak prevention code recently added to Apache Tomcat codebase although the causes, process of diagnosis and the remedies are widely applicable to any J2EE application server or, in fact, any other environment that provides a 'reload' mechanism that uses multiple class loaders.