When to address managed heap fragmentation

Posted by emddudley on Stack Overflow See other posts from Stack Overflow or by emddudley
Published on 2010-04-08T14:48:17Z Indexed on 2010/04/08 15:13 UTC
Read the original article Hit count: 386

Filed under:
|
|

I was reading a blog entry by Josh Smith where he used a cache mechanism in order to "reduce managed heap fragmentation". His caching reduces the number of short-lived objects being created at the cost of slightly slower execution speed.

How much of a problem is managed heap fragmentation in a managed language like C#? How can you diagnose if it's an issue? In what situations would you typically need to address it?

© Stack Overflow or respective owner

Related posts about heap-fragmentation

Related posts about .NET