Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!brl-adm!rutgers!ames!ucbcad!ucbvax!decvax!tektronix!uw-beaver!uw-june!entropy!dataio!bright
From: bright@dataio.Data-IO.COM (Walter Bright)
Newsgroups: comp.sys.ibm.pc
Subject: Datalight C
Message-ID: <1224@dataio.Data-IO.COM>
Date: Wed, 24-Dec-86 14:31:15 EST
Article-I.D.: dataio.1224
Posted: Wed Dec 24 14:31:15 1986
Date-Received: Thu, 25-Dec-86 05:36:59 EST
Organization: Data I/O - FutureNet Corp., Redmond, WA
Lines: 12

Many people have requested info on how to minimize the memory usage
by the parent program when a spawn() is executed. The trick is to
include the line (for S and P memory models):

	int _okbigbuf = 0;

somewhere in the source to the program. This will prevent the startup
code from allocating a full 64k of data to the program, and will cause
the file I/O routines to use only small disk buffers. The effect is to
trade off fast disk I/O for reduced memory usage.

This is documented in section 6.2 of the manual.