We are facing a unusual situation with our code. We have memory leak in our application because of which there are multiple operations (same operation repeated n times) when we do action. This behaviour is consistent.
Now as soon as we take snapshot using dotMemory, the application works correctly and there are no leaks. Only one instance remains.
This problem is pretty awkward. may be we have some initialisation wrong way, but it is difficult to find the retention path since there is nothing in snapshot. We did tried collecting GC explicitly but that didnt helped.
I tried some other tools like .Net Memory Profiler and ants but issue behaves same way. So, its not a problem with tool itself.
Any help would be appreciated.