Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

GetModelviewProperties leak memory #101

Open
Bullhill opened this issue Sep 23, 2022 · 0 comments
Open

GetModelviewProperties leak memory #101

Bullhill opened this issue Sep 23, 2022 · 0 comments

Comments

@Bullhill
Copy link

When using GetModelviewProperties its not clearing the memory after collection of data.
I need to add GC.Collect() and GC.WaitForPendingFinalizers() to get it to clean the memory.
(Pay attention to line 17-18 in code and Process memory on images)

This model have 3 956 555 property values so that can explain the amount of RAM, but not why its leaking.

image
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant