WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: Re: program memory usage [cross-post]

Re: program memory usage [cross-post]

by Henrik Carlqvist-4 :: Rate this Message:

| View in Thread

Alessandro Basili <alessandro.basili@...> 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

 « Return to Thread: Re: program memory usage [cross-post]