Unable to make a debuggable exe in HP 11i

Hi Guys,
I need a help from you all. Basically I am working on 64 HP-UX 11i. I am building an exe from some 2gb of C codes. Now my problem is that I am unable to make the exe a debuggable one. So whenever I remove the -s fla from the make file, during building, the error message "Out of memory" :frowning: comes . On the other hand I can make a non debuggable exe, but the exe dumps core. So please help me guys.

Thanking you in advance.

Hrishiraj Bhattacharjee.

ulimit -a
produces output like this:
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         1048576
stack(kbytes)        256000
memory(kbytes)       unlimited
coredump(blocks)     4194303

This is on a development machine - note the amount of memory in the data line. Your value is probably too small to allow ld to build the image file in memory.

Get your sysadmin to increase the size of limits. This is a the only solution I know about. Or compile as root and set it it appropriately. Note: you will probably want to run the debugger as root anyway because of other imposed limits.