UMDH: Catching Slow Leaks Red-Handed

This language is lacking In garbage collecting So now I’ve got a memory leak "Memory Leak" by Awesome If you manage memory on your own, it is almost inevitable that some code, at some point, will mismanage memory. Memory leaks are one type of this mismanagement. They show the app allocated memory, but forgot to … Continue reading UMDH: Catching Slow Leaks Red-Handed

Wielding Debug Builds against Heap Corruption

Heap corruptions can be nasty to investigate. I recently had to investigate a bug that manifests under special circumstances in production. Crashes had all flavors of stack traces - the trademark of heap corruption. To debug it, I ran the usually recommended tool for heap corruption: PageHeap. Enabling PageHeap PageHeap is an OS flag that … Continue reading Wielding Debug Builds against Heap Corruption

The Curious Case of the 99.9% Latency Hike

Disclaimer: This is a story from production. I have changed a couple of details, but the gist of the story holds. Exposition On a normal morning, I was checking up on health metrics of a bunch of services, when a new service under test caught my attention. Let's call this service Lucy. Lucy so far … Continue reading The Curious Case of the 99.9% Latency Hike