Hi there,
I've implemented a very basic scenario in which a publisher node transmits a high number of messages (configurable, in the attached example 15K/sec), and another node consumes on the target queue (one consumer, auto-ack).
Starting from RabbitMQ .NET Client 6.1.0 I can see the memory steadily and consistently ramps up, as in attached screenshots.
By building and playing around with the source code directly, I managed to see that the amount of memory rented by RabbitMQ.Client/client/impl/OutgoingCommand.cs#L69 is higher than the amount returned by RabbitMQ.Client/client/impl/SocketFrameHandler.cs#L294
Please note that the memory leak i detect is on the client side only, nothing bad happens on the broker side (queue does not pile up messages).
As mentioned, no such behaviour with version 6.0.0 (that did not rely on array pools and renting?).
RabbitMQ Broker is version 3.8.9.
Cannot reproduce this behaviour with a low transmission load.
Thanks for your help, and please let me know if I can provide additional info, and whether this is eligible to be reported as an issue.
Regards,
Gianluca