Why org.springFramework.Boot.loader.jar.JarFile causes memory leak

505 Views Asked by At

When using Skywalking, the Eclipse MAT shows that JarFile and JarFileWrapper consume a lot of memory and continue to grow.

enter image description here enter image description here

As you can see, Jarfile has risen from 184m to 469m,And there are more and more objects.

enter image description here

And the GC ROOTS contains:

  • org.apache.skywalking.apm.dependencies.io.netty.util.concurrent.FastThreadLocalThread
  • com.dianping.cat.util.Threads$RunnableThread
  • java.lang.Thread
  • java.lang.ref.Finalizer
  • java.lang.Thread

How do I find the root cause of the problem?

Version Info:

  • Skywalking: 8.2.0
  • SpringBoot: 2.3.3-RELEASE
0

There are 0 best solutions below