summaryrefslogtreecommitdiffstats
path: root/xpcom/docs/huntingleaks.rst
blob: 9e0585da4e798d1dbd1dab75b9532a8b1689e0bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Hunting Leaks
=============

.. contents:: Table of Contents
    :local:
    :depth: 2

Different tools and techniques are used to hunt leaks:

.. list-table::
   :header-rows: 1

   * - Tools
     - Description
   * - :ref:`Bloatview`
     - BloatView is a tool that shows information about cumulative memory usage and leaks.
   * - :ref:`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 </performance/memory/gc_and_cc_logs.html>`_
     - Garbage collector (GC) and cycle collector (CC) logs give information about why various JS and C++ objects are alive in the heap.
   * - :ref:`DMD Heap Scan Mode`
     - Heap profiler within Firefox