-
First,i think the librdkafka is a good lib,i like it.
I started a consumer and found that running it for a longer period of time slowly grows its memory(run for 3 days,1984K->2084K,produce a piece of data every 2ms). I read the https://github.com/edenhill/librdkafka/wiki/FAQ#explain-the-consumers-memory-usage-to-me. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What version of librdkafka? There are no known memory leaks in up to date librdkafka releases. |
Beta Was this translation helpful? Give feedback.
What version of librdkafka?
There are no known memory leaks in up to date librdkafka releases.
Suggest using a memory profiler (asan, valgrind, ..) to check for memory leaks.
If using valgrind you may also want to use the suppressions file in
tests/librdkafka.suppressions
to silence some false positives.