Skip to content
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

Lots of subscriptions caused a memory leak [v2.8.4] #5833

Open
wubumihuo opened this issue Aug 27, 2024 · 1 comment
Open

Lots of subscriptions caused a memory leak [v2.8.4] #5833

wubumihuo opened this issue Aug 27, 2024 · 1 comment
Labels
defect Suspected defect such as a bug or regression

Comments

@wubumihuo
Copy link

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 downpprof_memory

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

@wubumihuo wubumihuo added the defect Suspected defect such as a bug or regression label Aug 27, 2024
@neilalexander
Copy link
Member

2.8.4 is extremely old, can you please try again with the most recent version?

@wallyqs wallyqs changed the title Lots of subscriptions caused a memory leak Lots of subscriptions caused a memory leak [v2.8.4] Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Suspected defect such as a bug or regression
Projects
None yet
Development

No branches or pull requests

2 participants