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

Unbounded memory leak. #200

Open
craftxbox opened this issue May 14, 2023 · 1 comment
Open

Unbounded memory leak. #200

craftxbox opened this issue May 14, 2023 · 1 comment
Labels
bug Something isn't working needs reproduction bug hasn't been confirmed or is missing reproduction steps

Comments

@craftxbox
Copy link

930 and 931 both seem to have a very slow memory leak. Recently, I had left 931 open for ~4 days, to discover it had accumulated 17gb of system memory.

@corp-0 corp-0 added bug Something isn't working needs reproduction bug hasn't been confirmed or is missing reproduction steps labels Jun 6, 2023
@CorruptComputer
Copy link
Contributor

Sorry I thought I had replied to this before but I just saw that I had not.

This memory leak may be coming from Avalonia. There have been open issues for a memory leak when binding to Observables for quite some time and it does not seem to have been fixed.

AvaloniaUI/Avalonia#3527
AvaloniaUI/Avalonia#5872

With the refactoring done in #210 the usage of this has been removed from the Servers and Installation panels. Hopefully this means the leak isn't nearly as bad (or possibly even fixed). Still need to find if we are binding to Observables anywhere else and remove it if so.

I'm not 100% certain this will fix the entire issue, as I have been unable to reproduce this memory leak at all when testing so I'm not certain of the cause. I left the launcher open over night and didn't notice any significant memory usage increase so thats a good sign at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs reproduction bug hasn't been confirmed or is missing reproduction steps
Projects
None yet
Development

No branches or pull requests

3 participants