From: Stephen E. <se...@gm...> - 2011-10-19 14:42:30
|
I am experiencing a problem which I suspect is due to a large number of mallocs and frees (in certain patterns) that cause the libc allocator to bog down and hitch. I am using massif to profile the memory usage of my program and am trying to use memory pools where possible. I would like to see the number of allocations at each code location in addition to the total bytes allocated from that location (I can divide manually but it would be nice if the tool could do this automatically). Is this possible? Am I missing a flag to do this? Thanks, Stephen |