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

Reply via email to