-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak on failed connection attempts. #236
Comments
I meet a problem may due to this: when my program running for a long time, the message receive will become duplicated, for example: A send "Hello" once to B , B will receive more than one time, and I step into code, found A call MessageHandler more than one time , even though I A just send once. but when I reboot both A and B , problem is gone , but will reproduce for a long time running. |
I guess the other question would be is there a more preferred way to startup a service and wait/watch for a NATS server to come online that doesn't memory leak? |
We could use this fix too |
I'm looking into this now. |
In operation I would like to be able to leave applications running prior to starting the NATS server that expect to see one at some point in their life. Currently I have a loop:
natsConnection remains null on failure but the memory usage steadily grows with each attempt. the memory is not returned on a successful connection.
The text was updated successfully, but these errors were encountered: