0

The following web applications were stopped (reloaded, undeployed), but their classes from previous runs are still loaded in memory, thus causing a memory leak

its shows number of war files are still in memory.,Is there any option so that we can delete it?

Harshit
  • 153
  • 1
  • 11

1 Answers1

0

Just add this dependency classloader-leak-prevention.jar in your build path. It will resolved your problem. If you are using maven project then just add this dependency.

<!-- For Classloader leak protection -->
    <dependency>
        <groupId>se.jiderhamn</groupId>
        <artifactId>classloader-leak-prevention</artifactId>
        <version>1.10.0</version>
    </dependency>
Avyaan
  • 1,285
  • 6
  • 20
  • 47