4 ms·
We haven't. Google infrastructure uses tcmalloc. Is there a reason to believe it offers a significant win?
by obstinate 11y ago
We haven't. Google infrastructure uses tcmalloc. Is there a reason to believe it offers a significant win?
- SamReidHughes 11y agoI'd expect similar performance but less fragmentation?, less memory used by the process if you aren't regularly calling MallocExtension::instance()->ReleaseFreeMemory() as a tcmalloc user. The first answer at https://www.quora.com/Is-tcmalloc-stable-enough-for-production-use https://www.quora.com/Is-tcmalloc-stable-enough-for-producti... (by Keith Adams) is completely consistent with what I've seen. Rust went with jemalloc for some reason too.
- Jweb_Guru 11y agoIIRC jemalloc is somewhat better about releasing memory in a timely fashion, at least by default.