TCMalloc Performance Optimization for a Self-Managed Deployment Starting in MongoDB 8.0, MongoDB uses an upgraded version of TCMalloc that uses per-CPU caches, instead of per-thread caches, to reduce memory fragmentation and make your database more resilient to high-stress workloads. To use the new TCMalloc version: Use a supported operating system. Enable THP. Enable per-CPU caches. Platform Supp

{{#tags}}- {{label}}
{{/tags}}