Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!princeton!idacrd!mac From: mac@idacrd.UUCP (Bob McGwier) Newsgroups: comp.sys.ibm.pc Subject: Re: Microsoft C 4.0 spawn is a memory hog Message-ID: <222@idacrd.UUCP> Date: Wed, 27-May-87 12:14:27 EDT Article-I.D.: idacrd.222 Posted: Wed May 27 12:14:27 1987 Date-Received: Fri, 29-May-87 06:32:27 EDT References: <3605@osu-eddie.UUCP> Organization: idacrd, princeton, nj Lines: 21 in article <3605@osu-eddie.UUCP>, mdf@osu-eddie.UUCP (Mark D. Freeman) says: > > We have a program called memfree.exe that just prints out the > available memory. Memfree always agrees with chkdsk. > > We wrote a program that does nothing but spawns memfree and returns. > Running memfree from dos shows 70K more available than running memfree > from our spawn test program (that is, of course, running under dos). > > Why does spawn eat up 70K? Is there a way around this? > > -- > < < < < < < < < < < < < < < < < < < < <> > > > > > > > > > > > > > > > > > > > > Mark D. Freeman I assume you'd like to be able to call disk files, do commands etc when you run spawn so you have to have a copy of the command processor loaded into memory for one thing. Bob .