AIX Shared Memory Segment (Not enough memory)

AIX Shared Memory Segment (Not enough memory)

Post by Tim Bro » Sun, 05 May 2002 14:40:04


I'm running a program on AIX 5L(5.1) which consists of one executable
and six shared libraries. The executable is about 30MB and each of the
shared libraries are also about 30MB.

When I first attempt to run the application I get a "can't load
program...not enough memory available now" error. If I then use the
command 'ulimit -d unlimited' I am able to run the app okay.

However if I have two copies of the application in two seperate
directories I can't run the second after running the first (not enough
memory error). If I then do an slibclean I can start the second app
but now I can't run the first.

Why do the two separate copies of this program seem to clash like

I've also found that if I turn off the read by other permissions from
the shared libraries I can no longer run either application (not
enough memory error again). Even with LDR_CNTRL=MAXDATA=0x80000000?

Any ideas? Are there other settings form memory limits? The machine
had 32G.