nats.java icon indicating copy to clipboard operation
nats.java copied to clipboard

Slow memory leak

Open tinder-marissanovak opened this issue 1 year ago • 6 comments

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.

image

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

tinder-marissanovak avatar Aug 06 '24 19:08 tinder-marissanovak