Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ll-xn!ames!oliveb!rap From: rap@oliveb.UUCP (Robert A. Pease) Newsgroups: comp.sys.ibm.pc Subject: Re: Fragmentation on DOS - HELP ! Message-ID: <1074@oliveb.UUCP> Date: Fri, 22-May-87 15:36:56 EDT Article-I.D.: oliveb.1074 Posted: Fri May 22 15:36:56 1987 Date-Received: Sat, 23-May-87 16:57:29 EDT References: <287@pyuxv.UUCP> <764@usfvax2.UUCP> <3617@gitpyr.gatech.EDU> Reply-To: rap@olivej.UUCP (Robert A. Pease) Organization: Olivetti ATC; Cupertino, Ca Lines: 16 In article <3617@gitpyr.gatech.EDU> roy@gitpyr.gatech.EDU (Roy Mongiovi) writes: >I sincerely hope that MSC does not use the DOS functions directly to allocate >memory, since 16 bytes is a tremendous overhead for small blocks. I don't >own Microsoft C, so someone else will have to look into it. >-- >Roy J. Mongiovi If you look in your MSC manual, it tells you that the memory allocator asks MS-DOS for a CHUNK of memory and then passes small parts of that chunk to each request from the program. If all the memory in the CHUNK is used up, the memory allocator asks MS-DOS for another CHUNK. -- Robert A. Pease {hplabs|fortune|idi|ihnp4|tolerant|allegra|glacier|olhqma}!oliveb!olivej!rap