How to disable Allocations Collection from DotMemory?
I've set up an automated test which opens and closes a page 100 times, at the beginning of this test I call
dotMemoryApi.GetSnapshot();
and I then call it again at the end of the test.
After looking at the comparison it seems unmanaged memory increases by a fairly large amount (from an initial 200mb, up to 800mb). While looking around I found the following thread.
I have a few questions.
Firstly. How can I disable this Allocations Collection, no idea where the option for this is. If disabling it won't work through the api call, then I can manually perform the test (although it will take a bit longer) to confirm whether the leak is actually a leak.
Any ideas?
Please sign in to leave a comment.
Nevermind, found it by setting dotMemoryAPI.CollectAllocations = false;
Didn't solve my unmanaged leak problem... the quest continues.