Online ((better)): Heap Dump Analyzer

She clicked the view. The analyzer sorted objects by retained memory. The top offender was a class she didn’t recognize: CachedUserSession .

She dragged the 14GB file into the browser window. A spinner. Three seconds. heap dump analyzer online

She’d seen this before. The heap was a maze. Somewhere inside it, an object graph had grown teeth. She clicked the view

Her lead handed her the heap dump. A 14-gigabyte snapshot of Minotaur’s memory at the moment of death. “We have forty-five minutes before the morning traffic hits,” he said. “Find the leak.” She dragged the 14GB file into the browser window

Inside: 7.4 million instances. Each one holding a HashMap of user preferences, a Date for last access, and—strangely—a byte[] that contained the user’s profile picture. Every. Single. Session.

The visualization was beautiful and terrifying. A sunburst of objects—millions of them—radiating from a single root. Normally, a healthy heap looks like a forest canopy. This one looked like a tumor.