currently I am using Jet brains dot memory 2017.3.2. In this tool we have a feature to import dump (beta). While analyzing a dump of our application we found,
--> it was using 3.27 GB of memory.
--> One of the CLASS A object was retaining around 3GB of memory.
--> CLASS A contains an event named PropertyChanged.
--> when we took the dump we saw around 29780 subscribers are subscribed to PropertyChanged event.
--> expanding the invocationlist of the event showed, few EventHandlers retained 64 bytes of memory.
Here comes my confusion,
If you expand any of the event handler (which consumes 64 bytes) you can see the target object (subscriber) retained ~121 KB of memory.
isn't it showing wrong?