1833054 Members
2505 Online
110049 Solutions
New Discussion

gdb out of memory

 
Chartier Jerome
Frequent Advisor

gdb out of memory

Hi all,

I'm trying to use gdb on a exec file, and have got this error message:
(gdb) break main
Breakpoint 1 at 0x400000000001674c: file ./BusCode/Src/ServerApps/cocau001.cpp, line 70.
(gdb) run
Starting program: /usr/users/cdelbarr/./ServerApps/source/JupiterPackage/Debug/cocau001.exe
warning: Unable to find __d_pid symbol in object file.
warning: Suggest linking with /opt/langtools/lib/end.o.
warning: section .data not found in /u01/app/oracle/product/8.1.7/lib64/libwtc8.sl
warning: Symbols for some libraries have not been loaded, because
doing so would exceed the size threshold specified by auto-solib-add.
To manually load symbols, use the 'sharedlibrary' command.
To raise the threshold, set auto-solib-add to a larger value and rerun
the program.

warning: File not processed by pxdb--about to process now.

..................................................................................................................................
....
Procedures: 2678
Out of memory.
Command ignored.

The server is an HP UX:
HP-UX manon B.11.00 A 9000/800 114951547 two-user license

Did you met this problem already?
On another server, the debug works very well.

Thanks in advance for your help

Cheers

Jerome C
J@Y
2 REPLIES 2
ranganath ramachandra
Esteemed Contributor

Re: gdb out of memory

use the following line either at the gdb prompt or in .gdbinit (in the current or your home directory):
set auto-solib-add on
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

T G Manikandan
Honored Contributor

Re: gdb out of memory

Compare the kernel configuration on both servers.

I would check

1.The memory usage

2.kernel parameters like

maxdsiz
maxtsiz
maxssiz
and their 64 bit eqv.

Also,

no. of threads
no. of open files (max_files)

It is hitting some limit.