Hunting LeaksΒΆ

Different tools and technics are used to hunt leaks:

Tools

Description

Bloatview

BloatView is a tool that shows information about cumulative memory usage and leaks.

Refcount Tracing and Balancing

Refcount tracing and balancing are advanced techniques for tracking down leak of refcounted objects found with BloatView.

GC and CC logs

Garbage collector (GC) and cycle collector (CC) logs give information about why various JS and C++ objects are alive in the heap.

DMD heap scan mode

Heap profiler within Firefox