3 ms·
I work on many C/C++ projects and none of them use jemalloc. I also use several databases written in C, or C++, and none of them use jemalloc either. I do howe
by winrid 3y ago
I work on many C/C++ projects and none of them use jemalloc. I also use several databases written in C, or C++, and none of them use jemalloc either.
I do however wish Mongo offered the option: https://jira.mongodb.org/browse/SERVER-39325 https://jira.mongodb.org/browse/SERVER-39325
- dilyevsky 3y agoI think tcmalloc will output protos too now which google pprof tool understands. If you’re using standard glibc malloc you’re probably leaving a lot of performance on the table
- winrid 3y agoPerformance wise it doesn't matter for most projects like games where allocations aren't done in hot paths anyway. Problem with tcmalloc is fragmentation. Luckily I can then on aggressive decommit in some scenarios and that helps.
- zX41ZdbW 3y agoClickHouse uses jemalloc as the only option: https://github.com/ClickHouse/ClickHouse/ https://github.com/ClickHouse/ClickHouse/ We have contributed patches and bugfixes to jemalloc as well.
- winrid 3y agoI'd expect nothing less for clickhouse :)