Andras Hatvani
Andras Hatvani

Reputation: 4491

RocksDB with jemalloc or tcmalloc in KafkaStreams

My KafkaStreams apps run as Docker images in Kubernetes cluster and thus had to configure the pods to contain jemalloc and tcmalloc. By adding

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
# or 
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4

the standard glibc memory allocator will be overridden, but it doesn't work as expected:

Did anyone successfully use either of these with Kafka Streams?

Upvotes: 1

Views: 167

Answers (0)

Related Questions