Operating System - HP-UX
1752745 Members
4697 Online
108789 Solutions
New Discussion

Re: Unable to allocate memory

 
SOLVED
Go to solution
Rajesh K Chaurasia
Valued Contributor

Re: Unable to allocate memory

Latest HP debugger release is 6.1. Please use following white paper for details on how to use HP debugger to heap corruption analysis -

"Debugging Dynamic Memory Usage
Errors Using HP WDB"
http://h21007.www2.hp.com/portal/download/files/unprot/devresource/Tools/wdb/doc/011310/memdebug-updated.pdf

Regards
-Rajesh
Dennis Handly
Acclaimed Contributor

Re: Unable to allocate memory

>I have gdb and following are the details: HP gdb 5.9 for HP Itanium

This won't help if you are running Aries. You need to debug your heap corruption on PA.

>do I need a core file for running the diagnostics or I can simply run the exe file via gdb's run command and perform the diagnostics?

If you know what you are doing, you may be able to analyze the corruption by looking at raw bits.

Otherwise you must run the executable with "set heap-check on".