Some Nice Memory Profiler for C++

Discussion in 'C++' started by Abhi, Nov 25, 2011.

  1. Abhi

    Abhi Guest

    Hi,

    The Memory Profilers available for Java are kind of awesome, be it
    JProfiler or JVisualVM. These profilers even show you the number of
    instance of each type of Object allocated in the Heap. I feel C++
    lacks similar kind of tools. I tried using Valgrind, Purify, but I did
    not find them good enough. Could you please suggest me some good
    profilers for C++ (on Linux), I am basically interested in finding how
    many and what kind of variables are there in the heap.

    Thanks,
    Abhishek
    Abhi, Nov 25, 2011
    #1
    1. Advertising

  2. Abhi

    Daniel Guest

    On Nov 25, 6:03 am, Abhi <> wrote:
    > Hi,
    >
    > The Memory Profilers available for Java are kind of awesome, be it
    > JProfiler or JVisualVM. These profilers even show you the number of
    > instance of each type of Object allocated in the Heap. I feel C++
    > lacks similar kind of tools. I tried using Valgrind, Purify, but I did
    > not find them good enough. Could you please suggest me some good
    > profilers for C++ (on Linux), I am basically interested in finding how
    > many and what kind of variables are there in the heap.


    If you have a Mac around "Instruments" (part of the Apple developer
    tools) does a very nice job tracking allocations and frees and
    relating them to lines in the source code where they were allocated.
    It also does CPU profiling and all sorts of other resource tracking.
    --Daniel
    Daniel, Nov 28, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matthew Fleming

    memory profiler recommendation

    Matthew Fleming, May 4, 2004, in forum: Java
    Replies:
    2
    Views:
    357
    Roedy Green
    May 6, 2004
  2. taurean
    Replies:
    1
    Views:
    609
    John Harrison
    Apr 30, 2004
  3. Mac

    some profiler questions

    Mac, Jun 8, 2005, in forum: Python
    Replies:
    1
    Views:
    270
    Dieter Maurer
    Jun 9, 2005
  4. k3xji
    Replies:
    0
    Views:
    216
    k3xji
    Dec 15, 2008
  5. potatosoftware
    Replies:
    0
    Views:
    660
    potatosoftware
    Nov 4, 2009
Loading...

Share This Page