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 ?
Get the Heap Dump by using jvisualvm file.
Download the Eclipse Memory Analyzer and start analysis the below factors
- Heap
- Garbage Collection
- OutOfMemory
Please visit this
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.