PragmaTwice commented on code in PR #305: URL: https://github.com/apache/kvrocks-website/pull/305#discussion_r2129117596
########## docs/how-to-profile-memory.md: ########## @@ -0,0 +1,39 @@ +# How to profile memory + +To make the memory profiling easier, Kvrocks provides the command `KPROFILE` to active/deactive and dump the memory profiling data. But it's only supported when building with the Jemalloc memory allocator(built by default). + +## Prerequisites + +Before profiling, you need to run Kvrocks server with the following environment variable set: Review Comment: ```suggestion Before profiling, you need to run Kvrocks server with the following environment variables: ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
