Kafka uses and relies on OS level caching heavily. Likely you're just measuring that. No need to worry unless you're actually seeing any GC related problems.
-- Sharninder On Tue, Nov 10, 2015 at 4:44 PM, Birendra Kumar Singh <singh...@gmail.com> wrote: > I am looking to understand the RAM usage of kafka cluster > > I have the following running > > VM -1 (3.75GB RAM) > kafka-server 1 > VM-2 (3.75 GB RAM) > kafka-server 2 > > I have one topic created. > Prior to any message in the topic - RAM used by kafka server process was > around 8%. > I pushed around 200000 messages on the topic within a span of couple of > hours - > Its been almost 20 hours since the messages were pushed. I see that right > now the kafka server process is using around 30% of memory. > > Why is so much of memory being used ? Can someone help me understand how to > optimize it. > > Thanks > Birendra > -- -- Sharninder