marcelgoldstein / ImageChecker

Image comparison with OpenCvSharp
GNU General Public License v3.0
6 stars 1 forks source link

Allocated RAM released later than expected #36

Closed marcelgoldstein closed 2 years ago

marcelgoldstein commented 2 years ago

Desired behavior: The allocated RAM from the ResultView is free when the view got closed.

Current behavior: The allocated RAM from a closed ResultView gets free when a new ResultView-Instance is opened. Observable in VS and TaskManager.

marcelgoldstein commented 2 years ago

The RAM seems to be collected by GC just fine. It just doesn't happen right after you close the results window immediatly. Forcing the "GC.Collection()" is generally no good practice.

Wont fix.