Memory leak from PODS

450 Views Asked by At

We have some rest services which is going out of memory frequently. I was doing code review and saw heavy usage of static methods. Can that be an issue ?

Java 8, spring-boot 2.1.5 How do I debug this issue ?

1

There are 1 best solutions below

0
On

Get the Heap Dump by using jvisualvm file.

Download the Eclipse Memory Analyzer and start analysis the below factors

  1. Heap
  2. Garbage Collection
  3. OutOfMemory

Please visit this