Skip to content

Instantly share code, notes, and snippets.

@mambocab
Created October 28, 2015 19:11
Show Gist options
  • Save mambocab/1ff32e4132d1578803a4 to your computer and use it in GitHub Desktop.
Save mambocab/1ff32e4132d1578803a4 to your computer and use it in GitHub Desktop.
cassandra-env prepend
(
wget https://github.com/jemalloc/jemalloc/releases/download/4.0.3/jemalloc-4.0.3.tar.bz2 -O /tmp/jemalloc-4.0.3.tar.bz2
cd /tmp/
tar -xjf /tmp/jemalloc-4.0.3.tar.bz2
cd /tmp/jemalloc-4.0.3
./configure && make
)
export CASSANDRA_LIBJEMALLOC='/tmp/jemalloc-4.0.3/lib/libjemalloc.so'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment