1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
Memprof is a memory profiler and leak detector.
Requirements
============
For the interface, memprof requires:
- GTK+ 2.0
- GConf 2.0
- libgnomeui 2.0
- libglade 2.0
These are all available from ftp://ftp.gnome.org/pub/GNOME/,
but if binary packages are available from your distribution,
it's much easier to install them that way.
For the backend, memprof requires:
- libbfd and libiberty from the GNU binutils distribution.
(Debian users will probably need to install the binutils-dev package)
- Linux (kernel version 2.2 will work better)
- GNU libc (2.0 or or newer will work, but 2.0 may produce warnings
when compiling)
Installation
============
./configure
make
make install
How to report bugs
==================
Bugs should be reported to the GNOME bug tracking system.
(http://bugzilla.gnome.org/, project memprof). You will need to create an
account for yourself.
Mailing list
============
You can find information about subscribing to the memprof mailing list
at: http://mail.gnome.org/mailman/listinfo/memprof-list/.
FAQ
===
* What do the colors mean?
Yellow = Allocated
Blue = Allocated then freed (high-water-mark)
Red = Leaked (after you press the "Leaks" toolbar button)
* What does the message:
MemProf: Starter malloc exceeded available space
mean?
Currently, MemProf doesn't handle static constructors in
C++ very well; all memory that they allocate comes out
of a fixed size pool. If that size is exceeded, Memprof
prints the above message and aborts the program. As a
workaround, you may be able to increase the STARTER_SIZE
#define in memintercept.c.
License
=======
Memprof is Copyright 1999, 2000, 2001, Red Hat, Inc. Copyright 2002,
Kristian Rietveld, and licensed under the terms of the GNU General
Public License. See the file COPYING for details.
|