Skip to content

Instantly share code, notes, and snippets.

@ZacAttack
Created January 15, 2021 22:16
Show Gist options
  • Save ZacAttack/4c680aedf46852bf706d673e4848ccaf to your computer and use it in GitHub Desktop.
Save ZacAttack/4c680aedf46852bf706d673e4848ccaf to your computer and use it in GitHub Desktop.
Preload and configure jemalloc
MALLOC_CONF="dirty_decay_ms:0" LD_PRELOAD=/usr/local/lib/libjemalloc.so ./memory-demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment