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 consumption raise up with each opening from tray icon #12

Closed
Bjo-Frei opened this issue Dec 31, 2019 · 2 comments
Closed

Memory consumption raise up with each opening from tray icon #12

Bjo-Frei opened this issue Dec 31, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Bjo-Frei
Copy link

WIth every opening the windows from task bar icon, the memory will be raised up. By closing the window (not application) not the new memory conusmption will be released.

I start with round 100 MB. After 5 cycling of minimize and opening the windows the memory is by round 300 MB,
After 10 cycle the memory is by 450 MB.

@steffen-wilke steffen-wilke added the bug Something isn't working label Jan 13, 2020
@dominikgolda dominikgolda self-assigned this Jan 14, 2020
@dominikgolda
Copy link
Collaborator

I have fixed at least the part of the problem. Binding for ConnectorsTreeView is created in code and this requires it to be clear in code - this was responsible for most of the problem. Additionally I unsubscribed some events and now the ConnectorsTreeView/MainWindow are colected by GC. There are still some problems, but they are not so severe.

dominikgolda added a commit that referenced this issue Jan 15, 2020
…ally disposed of. Events must be unhooked so as to not prevent removal of objects by GC.
@dominikgolda
Copy link
Collaborator

Should be fixed. The memory usage should decrease a bit, because we now reuse the tooltip for build as static resources.

krzysztof-lorenc pushed a commit that referenced this issue Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants