ClassLoaderLeakPreventor
Introduction
With the
ClassLoaderLeakPreventor you can avoid the
This is very likely to create a memory leak. log statements... and the problems that cause them!
License
This is under
Apache 2 license
How to use
web.xml:
Add the following to the web.xml file:
<listener>
<listener-class>se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor</listener-class>
</listener>
Maven dependency
Add this maven dependency to your pom.xml:
<dependency>
<groupId>se.jiderhamn</groupId>
<artifactId>classloader-leak-prevention</artifactId>
<version>1.13.0</version>
</dependency>
Configuration
More configuration details are described on GitHub: