Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!e2big.mko.dec.com!nntpd.lkg.dec.com!tkou02.enet.dec.com!wpowz!zambotti From: zambotti@wpowz.enet.dec.com (Walter Zambotti DEC) Newsgroups: comp.os.os9 Subject: Memory Madness. Message-ID: <1991Jul1.020824.15604@tkou02.enet.dec.com> Date: 1 Jul 91 02:08:24 GMT Sender: usenet@tkou02.enet.dec.com (USENET News System) Reply-To: zambotti@wpowz.enet.dec.com (Walter Zambotti DEC) Organization: Digital Equipment Corporation Lines: 39 Hi again. I have a a CC3 with OS9 Lvl 2 and I noticed a strange thing when iniz'ing the /r0 ram disk. 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? os9>list initram iniz /r0 os9>initram os9>mfree ... 232k ... Know here may be a clue! If after performing the iniz I do this : os9>iniz r0 os9>deiniz r0 os9>mfree ... 432k ... But if I execute the shell script I cannot deiniz the ram disk. Is there some phantom process which is holding a path open to the ram disk? os9>initram os9>deiniz r0 os9>mfree ... 232k ... Would anyone else like to try this out.