Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!gsbsun!valley From: valley@gsbsun.uchicago.edu (Doug Dougherty) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Is there any easy way to remove Resident programs form Memory? Keywords: Mark release Message-ID: <1991May30.001642.13646@midway.uchicago.edu> Date: 30 May 91 00:16:42 GMT References: <348@daily-planet.concordia.ca> <1991May29.073225.18179@ugle.unit.no> <1991May29.195754.25342@...!asuvax!gtephx> Sender: news@midway.uchicago.edu (NewsMistress) Organization: University of Chicago Lines: 32 fraserr@...!asuvax!gtephx (Ross Fraser) writes: >In article <1991May29.073225.18179@ugle.unit.no>, hallvard@immhp3.marina.unit.no (Hallvard Paulsen) writes: >> There are some utility programs called "mark" which puts a "bookmark" >> in your memory and "release" that frees all memory up to the last >> "bookmark". >My experience is that RELEASE will not work if MARK has been invoked in >a batch file (such as AUTOEXEC.BAT) until the batch file has terminated. >How do I kill the batch file, is there another utility that does not have >this restriction, or am I doing something wrong? The behavior you describe is well-known and is noted in the dox for MARK/RELEASE. However, my understanding was that, at least since version 2.5 (Current release is at least 2.9), it would go ahead and free the memory anyway, with a msg to the effect that this may not be exactly kosher. In any case, you can get around the general batch file weirdness w.r.t. freeing memory by using the FAKEY utility to generate keystrokes s.t. the actual releasing is done at DOS command level rather than from the batch file. 'least this is what I do... BTW, there is another utility, called RELEASE.COM, which simply generates a .COM file which, when run, will restore the memory environment to whatever it was when RELEASE itself was run. This one I know works in conjunction w/batch files, although some definite weirdness can be observed in that case. Again, I recommend the use of FAKEY to eliminate the weirdness. -- (Another fine mess brought to you by valley@gsbsun.uchicago.edu)