0

Possible Duplicate:
What is a good easy to use profiler for C++ on Linux?

Is there some opensource memory profiling tools for embedded linux? I need to know the memory cost status of a certain program , so I want this tool have some features such as calculate how much memory used with malloc, how much stack/heap used in pthreads, and show the shared library's memory usage. is there some tools can qualify. thanks.

Community
  • 1
  • 1
user1424963
  • 53
  • 2
  • 9

2 Answers2

4

Everyone uses valgrind for this.

Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358
  • valgrind's memory profiler is limited to 32GByte (it is quite an art to implement such a limit!) –  May 29 '13 at 16:34
1

Here are some of the memory profiling debugging tools I have used as some point of time so far :

  1. Valgrind

  2. Intel's VTune

3 . IBM Rational Purify

Jay D
  • 3,263
  • 4
  • 32
  • 48