What causes memory fragmentation in .NET
You know, I somewhat doubt the memory profiler here. The memory management system in .NET actually tries to defragment the heap for you by moving around memory (that’s why you need to pin memory for it to be shared with an external DLL). Large memory allocations taken over longer periods of time is prone to … Read more