CMS GC's Memory Fragmentation Challenge

Unlike compacting collectors, CMS is a non-compacting collector, leading to heap fragmentation over time. This could prevent allocation of large objects, even with sufficient free memory, eventually triggering costly full GCs.

Sources

Open the full topic