Memory analysis product for c -


i have written down code should garbage collection c programs. problem need run large number of objects 100 mb dynamically allocated.

is there tool can me find out memory usage of c code @ runtime. pretty helpful if can come know current heap size , or number of memory blocks allocated etc. compare performance of code. should run along code or run it.

if know please tell little more information regarding own impact @ runtime etc. lot... :)

look @ valgrind. provides variety of memory analysis tools, including leak checking , heap profiling. runtime overhead depends on tool using; full memory checker slow, instruments memory accesses, memory profiler should pretty fast.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -