With 8.0 there is a change in memory allocator. The recommended OS setting have changed to support this.
This page give the settings and example systemd unit to set it up.
ref:
https://www.mongodb.com/docs/manual/administration/tcmalloc-performance/