Add support for jemalloc memory profiling (#9326)

Add a new feature flag to `lighthouse` which adds jemalloc profiling support.
We could manually add this during memory profiling but it is a nice QoL to have this built-in imo


Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
Mac L
2026-05-25 05:21:26 +04:00
committed by GitHub
parent 0565a01633
commit b9a68ad2c6

View File

@@ -37,6 +37,8 @@ beacon-node-redb = ["store/redb"]
console-subscriber = ["console-subscriber/default"]
# Force the use of the system memory allocator rather than jemalloc.
sysmalloc = ["malloc_utils/sysmalloc"]
# Enable jemalloc heap profiling support.
jemalloc-profiling = ["malloc_utils/jemalloc-profiling"]
[dependencies]
account_manager = { "path" = "../account_manager" }