Root utility to examine memory usage
memprobe [options]
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).
root(1)
See also the ROOT webpages:
http://root.cern.ch
The ROOT team (see web page above):
Rene Brun and Fons Rademakers
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
This manual page was written by Christian Holm Christensen <[email protected]>, for the Debian GNU/Linux system (but may be used by others).