JVM optimization
Refactoring a Class Saved 2.9GB of JVM Memory
1. Optimization Results By refactoring just one class, JVM heap memory usage dropped by 2994 MB (~3 GB) — from 3205 MB down to 211 MB. The new structure consumes only 6.5% of the memory used by the old one. This result was verified in production, not from stress‑test