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
zeedenis88 opened this issue Apr 17, 2024 · 3 comments
Open

Memory leak #899

zeedenis88 opened this issue Apr 17, 2024 · 3 comments
Labels
wontfix This will not be worked on

Comments

@zeedenis88
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.

@zeedenis88
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!

Copy link

stale bot commented Feb 25, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants