Path: utzoo!mnetor!uunet!husc6!bloom-beacon!mit-eddie!uw-beaver!cornell!rochester!PT.CS.CMU.EDU!B.GP.CS.CMU.EDU!Ralf.Brown@B.GP.CS.CMU.EDU From: Ralf.Brown@B.GP.CS.CMU.EDU Newsgroups: comp.lang.c Subject: Re: MSC STACK OVERFLOW Message-ID: <223fde94@ralf.home> Date: 17 Mar 88 14:11:32 GMT Sender: netnews@PT.CS.CMU.EDU Lines: 23 In-Reply-To: <11480010@hpsmtc1.HP.COM> In article <11480010@hpsmtc1.HP.COM>, swh@hpsmtc1.HP.COM (Steve Harrold) writes: }Check how big your DOS environment variable area is. I seem to recall that }this space gets added to your stack. Some of us, myself especially, }allocate a large space (via /E: on the COMMAND.COM line in CONFIG.SYS) and }forget about it. Periodically I get bitten. } }--------------------- }Steve Harrold ...hplabs!hpsmtc1!swh } HPG200/13 } (408) 447-5580 }--------------------- Actually, it's not how much you've allocated that matters, but how much is actually in use. When you EXEC a program, DOS creates an environment block that is just large enough to hold all the current variables plus the program's full name. The amount you allocate via /E only sets the size of the environment for the initial copy of COMMAND.COM. -- {harvard,ucbvax}!b.gp.cs.cmu.edu!ralf -=-=- TalkNet: (412)268-3053 (school) ARPA: RALF@B.GP.CS.CMU.EDU |"Tolerance means excusing the mistakes others make. FIDO: Ralf Brown at 129/31 | Tact means not noticing them." --Arthur Schnitzler BITnet: RALF%B.GP.CS.CMU.EDU@CMUCCVMA -=-=- DISCLAIMER? I claimed something?