Skip to content

jemalloc¤

usage: jemalloc [-h] {heap,extent-info,find-extent} ...

Utility for inspecting the jemalloc allocator.

Positional arguments¤

Positional Argument Help
command

Optional arguments¤

Short Long Help
-h --help show this help message and exit

jemalloc heap¤

usage: jemalloc heap [-h]

Prints all extents information

Optional arguments¤

Short Long Help
-h --help show this help message and exit

jemalloc extent-info¤

usage: jemalloc extent-info [-h] [-v] addr

Prints extent information for the given address

Positional arguments¤

Positional Argument Help
addr Address of the extent metadata

Optional arguments¤

Short Long Help
-h --help show this help message and exit
-v --verbose Print all chunk fields, even unused ones.

jemalloc find-extent¤

usage: jemalloc find-extent [-h] addr

Returns extent information for pointer address allocated by jemalloc

Positional arguments¤

Positional Argument Help
addr Address of the allocated memory location

Optional arguments¤

Short Long Help
-h --help show this help message and exit