merlimat opened a new pull request #8283:
URL: https://github.com/apache/pulsar/pull/8283


   ### Motivation
   
   The C++ client is using a huge amount of memory (eg: ~10GB) when it's 
partitioned from brokers and it's using a topic with many partitions. This is 
kind also present when the producer queue sizes are kind of small. 
   
   The reason is that the buffer size for the batch is always allocated with 
5MB capacity, even though we're going to need much less memory per each batch. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to