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.
Open the full topic