Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!rm105serve.sas.upenn.edu!theall From: theall@rm105serve.sas.upenn.edu (George A. Theall) Newsgroups: comp.os.msdos.programmer Subject: Memory requirements Summary: How much memory does COMMAND.COM require? Message-ID: <42583@netnews.upenn.edu> Date: 5 May 91 18:52:53 GMT Sender: news@netnews.upenn.edu Organization: University of Pennsylvania Lines: 17 Nntp-Posting-Host: rm105serve.sas.upenn.edu Is there a method to figure out, for a given DOS version, how much memory COMMAND.COM requires to be able to spawn programs? I have written a utility to gobble up of memory. Under DOS 3.30, leaving less than 20K generates the infamous "Memory allocation error, Cannot load COMMAND, system halted" message. Under PC DOS 4.01 though the magic number is more like 29K. I presume this is because I'm not leaving enough for the transient portion of COMMAND.COM. But how to figure out how much is "enough"? Thanks in advance, George --- theall@rm105serve.sas.upenn.edu Dept. of Economics theall@ssctemp.sas.upenn.edu Univ. of Pennsylvania gtheall@penndrls.upenn.edu Philadelphia, PA 19104