I want to know if really memory is getting leaked. My Scenaio is like:
- My .Net application is taking x amount of memory.
- i opened some dialogs and now it takes x+y amount of memory
- Closed all the recently opened dialogs
- still memory is around x + Y
Is this a memory leak or could be a situation that garbage collector have not cleared the memory.
And as events are also considered as references. what if the event is present in a dereferenced object? then that event would not be considered as a reference, right?