[comp.sys.dec] "grow failed" error message - HELP!!!

bill@fedeva.UUCP (Bill Daniels) (03/24/90)

I'm begging you to please help me.

I am attempting to port some applications from a MV3800/Ultrix 3.1 to
a DS5400/Ultrix 3.1-C.  Most of it has gone as planned.  A couple of
my larger programs (they are not really that large) generate the following
message when executed (actually this is a direct copy of the message from
one of the tasks):

grow failed because stack limit exceeded, pid 997, proc rf_main
ts = 0x30, ds = 0x26, ss = 0x80

I am guessing that some config parameter is not set right but the Ultrix
3.0 "Configuration File Maintenance" manual does not seem to address any
parameter that might be causing this problem.  Memory size must be the 
culprit but I don't know if it is a per process/per user/per system kind
of thing.  I also am unable to properly allocate shared memory which 
furthers my belief that memory size config params must be involved.

Any help would be greatly appreciated.

bill daniels
-- 
bill daniels
federal express, memphis, tn
{hplabs!csun,mit-eddie!premise}!fedeva!wrd3156

dbb@riscy.dec.com (Dave Barrett) (03/24/90)

In article <38@fedeva.UUCP> bill@fedeva.UUCP (Bill Daniels) writes:
>
>... A couple of my larger programs ... generate the following
>message when executed ... :
>
>grow failed because stack limit exceeded, pid 997, proc rf_main
>ts = 0x30, ds = 0x26, ss = 0x80
>

Use the csh built-in command "limit" to adjust the size of the stack,
ie.:

% limit stacksize unlimited