JVM Performance
From Suhrid.net Wiki
Jump to navigationJump to search
Tuning
- Biggest contributor to latency is the Garbage Collector
- Areas of Tuning : Memory, Lock Contention, CPU Usage, I/O
- Areas of Memory Tuning:
- Memory footprint tuning
- Allocation rate tuning
- GC tuning
Memory footprint tuning
- It's all about ensuring that the GC has less work to do
- One of the classic symptoms is the OutOfMemoryError
- Why ? It can be too much data, or the data representation is "fat", or there is a memory leak in the app code