-
-
Notifications
You must be signed in to change notification settings - Fork 123
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 in Settings > IRC > View #1529
Comments
Do you run a reverse proxy in front of autobrr? |
I'm using nginx indeed. For some reason I can no longer access it directly via http://$ip:$port/$basedir, so difficult to test without |
Yeah, you would need to remove the baseURL directive in the config.tol to try it without, but no need to do that. Not sure what we can do something to keep that alive some how - need to discuss that internally. |
As marty mentions above we have identified the issue and it is indeed related to keep-alive. ServerSentEvents do not use any ping events to keep connections alive, at least not with the library we are using. That leads to the We can add a Ping but we need to make changes to the library to exclude those messages from the event store so we get back the correct data. While this is annoying I don't consider it that critical because I don't think most users sit with the channel log open for hours a day. I could be wrong tho :) We'll fix it eventually but not for the next release. |
Version
dev
Describe the bug
Memory usage of tab explodes at some point
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No memory leak
Desktop (please complete the following information):
Additional context
I have the impression that the current behaviour doesn't add new lines that were received, but adds the most recent $number of lines. The number appears to be large and thus memory usage of the tab starts increasing and increasing with each new announcement. You can also find duplicate announcements by scrolling and searching through the growing list of announces.
The text was updated successfully, but these errors were encountered: