we found when a client has lots of subscriptions (more than 100000), could cause nats-broker memory increase suddenly.
And when this client shutdown,subscriptions would decline down; but memory would not decline down
Expected behavior
this client shutdown,subscriptions would decline down; we expected memory also decline down
Observed behavior
we found when a client has lots of subscriptions (more than 100000), could cause nats-broker memory increase suddenly. And when this client shutdown,subscriptions would decline down; but memory would not decline down
Expected behavior
this client shutdown,subscriptions would decline down; we expected memory also decline down
Server and client version
Version: 2.8.4 Go build: go1.18.8
Host environment
No response
Steps to reproduce
No response