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

Memory leak #899

Open
denisUbiq opened this issue Apr 17, 2024 · 2 comments
Open

Memory leak #899

denisUbiq opened this issue Apr 17, 2024 · 2 comments

Comments

@denisUbiq
Copy link

Hi! We have a problem while using mercure and can't figure out what wrong...
We are using mercure for the subscription API but the memory usage always go up an up but never down... here is a screenshot of the last 30 days.

Capture d’écran 2024-04-17 à 15 47 29

We are using the latest docker image through docker-compose.

I don't think it's normal that the memory usage going up like this... Or is it? How to fix this? is there is something to disable that we didn't?

Thanks a lot

@dunglas
Copy link
Owner

dunglas commented Apr 17, 2024

Are you using the BoltDB transport, (the default, which is kind of an in-memory DB)?
If yes that's quite normal. Try to set a maximum size to the history (https://mercure.rocks/docs/hub/config#bolt-adapter) or to switch to the local transport to see if the problem persists.

@denisUbiq
Copy link
Author

Yes we are using the default one. Ok I see! Thank you! We are still testing out Mercure, so still learning how it works ;)

We will try to set the max size first and keep you updated!

Thank you for your reactivity!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants