Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query in memory issue on C code in AIX server

Status
Not open for further replies.

vinoth124

Programmer
Dec 14, 2009
3
EU
Hi Friends,

I tried to move my C code from SUN OS to AIX. It complied sucessfuly on AIX machine where as it throws some memory related error message during run time. Please advise to fix this issue. Thanks in advance.
Error Message : FATAL:pgmname.c:468:ALLOC@Mar 31 05:06:37.247338@ FAILURE -- failed to allocate 48001236 bytes for pgmname_Startup
 
What is on line 468 of pgmname.c and how much memory is it meant to allocate?
 
Do you use -b in your link line? -b means different things to the linker on Solaris and AIX. Can't remember what the difference is but I remember there was a subtle difference.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top