Troubleshoot Sudden CPU Spikes
This type of sudden CPU spike usually happens because of two reasons:
- Repeated Full GCs
- Analyze the GC log file using Universal Garbage Collection Log Analyser (http://gceasy.io/)
- Capture Heap Dump and analyze the heap memory with Eclipse MAT
- Infinitely looping threads
- Take multiple CPU dump with the interval of 10 seconds
- Analyze using online tool http://fastthread.io/
No comments:
Post a Comment