Re: program memory usage [cross-post]
Henrik Carlqvist <[email protected]> Sun, 25 Sep 2011 20:20:14 +0200
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | SunSITE.dk - Supporting Open source |
| Message-ID | <[email protected]> |
Alessandro Basili <[email protected]> wrote: >> Valgrind for testing for memory leaks? > I guess I need some deep study before understanding the output of this > profiler The output from the default memcheck tool in valgrind is rather straightforward to read. However, to make some sense it really helps if your program was compiled with the -g flag. Then the output will point to line numbers in your code instead of hexadecimal addresses. regards Henrik -- The address in the header is only to prevent spam. My real address is: hc123(at)poolhem.se Examples of addresses which go to spammers: root@localhost postmaster@localhost