Category Archives: Tools

ClrMD part 2 – From ClrRuntime to ClrHeap or how to traverse the managed heap

The second post of the ClrMD series where I’m detailing how to detect string duplicates has been published on the official Criteo blog! Feel free to follow me there if you are interested in how to write your own tool with … Continue reading

Posted in .NET, Development, Tools | Leave a comment

Tool update – LeakShell 1.4.2

Download LeakShell 1.4.2 x86|x64 I’ve been using LeakShell in my new job at Criteo and I got errors due to large numbers in objects count and size. In the early 2010s when I wrote LeakShell, most of the needs were … Continue reading

Posted in .NET, Development, Memory, Tools | Tagged | Leave a comment

KernelLeakShell update

Download Kernel Leak Shell v1.2 As I was preparing an internal demo @Microsoft, I realized that KernelLeakShell had a bug if handle.exe was not present. It should be fixed with this update with a better check and by including the … Continue reading

Posted in Development, Tools | Leave a comment

Kernel Leak Shell and automatic elevation

Download Kernel Leak Shell v1.1 The original version of Kernel Handle Leaks Shell has a frustrating feature: you have to explicitely start it elevated or the same error message will pop up all the time because handle.exe that it executes … Continue reading

Posted in .NET, Development, Tools | Tagged , | Leave a comment

Tools updates

Download SAD v1.3.2 x86|x64 Download LeakShell v1.4.1 x86|x64 I’ve got bad feedbacks when using SAD or LeakShell without the right environment variables set or LeakDiag not installed. Therefore, I’ve updated both tools to warn their users accordingly. For SAD, the … Continue reading

Posted in Development, Tools | 4 Comments

Use SAD to view RCWs and CCWs

Download SAD v1.2 x86|x64 The first tool extension for SAD is about COM. When you need to call COM objects methods from .NET code, the runtime creates for you R(untime) C(allable) W(rappers) to hide all the complexity behind this kind … Continue reading

Posted in .NET, Development, Tools | Leave a comment

How to find kernel handles leaks

One of my customers was looking for a way to find out if an application was leaking kernel objects or not during specific worklows. The first tool to look at is the Swiss knife ProcessExplorer from SysInternals. When you select a … Continue reading

Posted in Development, Tools | 2 Comments