top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

gprof out of memory on HP-UX system?

+3 votes
387 views

I am using gprof on an HP-UX system for a program compiled with HP's native aCC (using the -G option, which is documented as compatible with gprof).

I get this every time I run gprof on even a small sample gmon.out:

$ gprof  gmon.out > gprof.out    
gprof: out of memory allocating ********** bytes after a total of 15552512 bytes

This works on other HPs we have in house, though I don't have access to them to be able to track down why.

Any clues that might point me in the right direction?

4,294,967,256 seems like an awful lot of memory to handle a 8,647,174 byte gmon.out file....

posted Apr 16, 2014 by Jai Prakash

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

...