Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!bcstec!misty!b-mrda!miller From: miller@b-mrda.ca.boeing.com (Mark Miller) Newsgroups: comp.sys.ibm.pc Subject: Re: msc memory allocation problems Message-ID: <15160012@b-mrda.ca.boeing.com> Date: 19 Feb 90 17:38:47 GMT References: <13115@cbnewse.ATT.COM> Organization: Boeing Commercial Airplanes MR&D Lines: 19 It's been awhile, but I had success tracking a similar bug by using the heapcheck and heapwalk routines to report available free space. I had a similar problem, where command.com could not be reloaded. The cause was a hunk of memory that got "calloc"ed but never "free"d. By inserting heap check and heapwalk at the beginning and end of each function that allocates memory, I was able to find the bug. Happy bug hunting, ====================================================================== Mark R. Miller + Disclaimer: Opinions expressed Boeing Commercial Airplane Co. + are mine and mine alone, and Seattle, WA + not necessarily those of my Internet: miller@b-mrda.boeing.com + employer. Voicenet: (206) 237-0960 + + +++ Phillipians 4:13 +++ ======================================================================