Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!lll-winken!xanth!mcnc!ecsgate!seq!session From: session@seq.uncwil.edu (Zack C. Sessions) Newsgroups: comp.os.os9 Subject: Re: Memory Madness. Message-ID: <1794@seq.uncwil.edu> Date: 1 Jul 91 04:15:06 GMT References: <1991Jul1.020824.15604@tkou02.enet.dec.com> Organization: Univ. of North Carolina @ Wilmington Lines: 24 zambotti@wpowz.enet.dec.com (Walter Zambotti DEC) writes: >If I type this command frmo the shell prompt : > os9>iniz /r0 > os9>mfree > ... 240k ... >And do a mfree I end up with 240k of free memory. But if I place the >above command in a shell script and execute the script from the shell I >end up with 232k of free memory. Why? Cuz a shell script (more accuratly referred to in OS-9 as a "procedure file") is executed in a child Shell process. This additional process in the system takes up another 8K since EVERY process requires a minimum of 8K in the system map. Buy Kev's book. Zack C. Sessions session@seq.uncwil.edu ^^^ | +---> Note! Username is session, NOT sessions. Not my fault! Ask my SysAdmin why!!