nats.java
nats.java copied to clipboard
Slow memory leak
Observed behavior
My pods that are running the NATS Java client are consuming more and more memory. I'm not using JetStream. There are slow consumers 1-2 times a week but they don't seem correlated with the memory usage increases since they don't happen at the same time. There are no errors or warnings logged by the Java client or on the NATS server.
Expected behavior
Memory usage stays constant
Server and client version
Client version 2.17.6 Server version 1.x
Host environment
No response
Steps to reproduce
I'm using default Options to create the Connection, other than maxReconnects is 300 and maxMessagesInOutgoingQueue is default * 2