↧
Programmatically checking memory usage
One of the things that’s useful in a pre-release check is do a regression test on the memory usage of your unmanaged functions. This should help to ensure that the fantastic new data structure you...
View ArticleDiagnosing out of memory errors with VMMap – Part 2
(I had problems with WordPress choking on this long post, so I’ve split it into 2 parts. The first part is here. This is the second part). Private data This is the data that is explicitly allocated by...
View ArticleModifying the VC runtime to get better heap allocation stack traces
Today I was trying to track down some – how can I put this politely – “unusual” memory usage in some unmanaged code running inside Excel. I broke out WinDbg and tried the usual suspects to get an idea...
View Article