---
name: "memprobe"
section: "1"
platform: "linux"
package: "libroot-core-dev"
version: "5.34.19+dfsg-1.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/memprobe"
---

# memprobe(1)

ROOT utility to examine memory usage

## NAME

memprobe - ROOT utility to examine memory usage

## SYNOPSIS

**memprobe** *\[options\]*

## DESCRIPTION

To activate the memory checker you have to set in the **.rootrc** file the resource **Root.MemCheck** to 1 (e.g.: **Root.MemCheck:** **1**) and you  have to link with **libNew.so** (e.g. use **root-config --new --libs**) or use **rootn.exe**.

When all this is the case you will find at the end of the program execution a file **memcheck.out** in the directory where you started your ROOT program. Alternatively you can set the resource **Root.MemCheckFile** to the name of a file to which the leak information will be written. The contents of this **memcheck.out** file can be analyzed and transformed into printable  text via the **memprobe** program (in **/usr/bin**).

## SEE ALSO

[*root*(1)](/root/1.md)

See also the **ROOT** webpages: *http://root.cern.ch* ⟨http://root.cern.ch⟩

## ORIGINAL AUTHORS

The ROOT team (see web page above):

**Rene Brun** and **Fons Rademakers**

## COPYRIGHT

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

## AUTHOR

This manual page was written by Christian Holm Christensen \<cholm@nbi.dk\>, for the Debian GNU/Linux system (but may be used by others).
