Commit 74e4b61
perf(alloc): use jemalloc to reduce memory fragmentation
Replace the system allocator (glibc malloc) with jemalloc via
tikv-jemallocator. Reduces RSS by ~18% by eliminating malloc
fragmentation that accumulates over time with RocksDB's allocation
patterns.1 parent dc14551 commit 74e4b61
3 files changed
+25
-0
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
0 commit comments