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

DataGridViewModel memory leak #435

Open
myangelkamikaze opened this issue Feb 6, 2024 · 0 comments
Open

DataGridViewModel memory leak #435

myangelkamikaze opened this issue Feb 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@myangelkamikaze
Copy link
Member

myangelkamikaze commented Feb 6, 2024

There seems to be a memory leak if you don't clear out ItemsSource manually: 326cc2c

Reproduction:

  1. Open sortie record viewer
  2. Fetch all sorties
  3. Select all sorties (ctrl+A) - in my case with about 30k records the EO memory went from about 500MB to about 800MB
  4. Close sortie record viewer

Without cleaning the DataGridViewModel ItemsSource, the memory stays at 800MB forever. Cleaning it up manually drops the memory down back to 500MB after about 5 minutes or so (might be able to speed this up with GC.Collect).

I didn't investigate this in detail, so there might be a better solution than manually clearing ItemsSource.

@myangelkamikaze myangelkamikaze added the bug Something isn't working label Feb 6, 2024
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

1 participant