mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-29 20:27:14 +00:00
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:
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user