top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

gprof out of memory on HP-UX system?

+3 votes
140 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 4294967256 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 Google+ Share Button LinkedIn Share Button Multiple Social Share Button

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...