Another memory leak.
Just installed .NET mem profiler and locating now how to fix.
Update to this blog.
Turns out memory leak was due to some tabs in a frequently opened form.
I decided to hide the tabs when they were not in use. As a result the .NET framework did not garbage collect them when the tab was closed. So I had to manually dispose them on form closing.
I have no idea why the .NET framework would assume these are to be kept in memory just because they aren't visible.
??????????????????
No comments:
Post a Comment