tooley@cs.concordia.ca (Doug Tooley) (05/28/91)
I'm sure this is a FAQ.... The subject line is doing the asking. I'd be much obliged... ??: Has someone set up a FAQ file for c.b.i.p.d? ----- ----- Doug Tooley 2B Co-Op CS student at U of Waterloo, Ontario, Canada tooley@concour.cs.concordia.ca On Work Term in Montreal until Sept. ----- "We'll cross out that bridge when we come back to it later." -Unkwn -----
ts@uwasa.fi (Timo Salmi) (05/29/91)
In article <348@daily-planet.concordia.ca> tooley@cs.concordia.ca (Doug Tooley) writes: >I'm sure this is a FAQ.... > >The subject line is doing the asking. : /pc/memutil/tsrcom29.zip ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun
hallvard@immhp3.marina.unit.no (Hallvard Paulsen) (05/29/91)
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". Where to get it? It has been around for quite a while so I guess most ftp sites heve it! \\___// | | Hallvard Paulsen, MSc |_____| Research Engineer / Grad. Stud || o || Division of Machinery || \\|| NORWEGIAN MARINE TECHNOLOGY RESEARCH INSTITUTE \\ TEL : +47 (07)595522 o FAX : +47 (07)595983 // EMAIL : hallvard@imm.unit.no O
gtephx (Ross Fraser) (05/30/91)
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? -- Ross Fraser @fraserr B69, X7258
valley@gsbsun.uchicago.edu (Doug Dougherty) (05/30/91)
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)
Bjorn.B.Larsen@delab.sintef.no (Bjoern Larsen) (05/30/91)
I have no problem in freeing memory by -release- with marks set by -mark- in the autoexec.bat file. However, I let the autoexec finish before I do anything else. I do it this way: 1. All marks are kept in a seperate directory 2. autoexec.bat first clears this directory, using del /directory < file (this 'file' only contains the "y" required to del all files in a directory) 3. following this autoexec.bat may set as many marks I feel like 4. exit autoexec 5. release memory from the appropriate mark simple? maybe even too complicated? \bjorn
fisher@sc2a.unige.ch (05/31/91)
In article <1991May29.195754.25342@...!asuvax!gtephx>, 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 of RELEASE is to `remember' the command and to execute it as soon as the batch file is terminated. This is because COMMAND needs a little space to store the current file offset and the current state of a `for' loop for example. Very strange things might happen if you release that piece of memory... Two important things to know: - The memory used for the batch file can be released *before* the last command. This is easily accomplished by ending the file immediately after that last command (i.e., don't add a new line sequence or insert a Ctrl-Z on the same line. Thus, if the last line is "RELEASE mark <EOF>", COMMAND will know that the batch file ends and will release the memory before RELEASE is executed. In fact, I'm not sure how it works, but RELEASE doesn't complain this way. BTW: the same thing holds if the batch file kills itself on the last line (i.e. "del BATCH.BAT <EOF>"), to avoid the "batch file missing" message. - To be able to add commands after the RELEASE, there is the /s switch (at least since version 2.9 of the package), wich can be used to stuff up to 15 chars in the keyboard buffer. A tiny and convenient `keyfake', so to speak. For the details, please refer to the `tsr.doc' file. In effect, this means that you can chain batch files through RELEASE, or execute a program in the freshly released memory. I hope this answers your question, Markus G. Fischer, Dept of Anthropology, Geneva CH fisher@sc2a.unige.ch PS: the files are available at many anonymous ftp archive sites such as wsmr-Simtel20.army.mil (192.88.110.20), wuarchive.wustl.edu (128.252.135.4) or garbo.uwasa.fi (128.214.12.37), usually in a directory like msdos/sysutl, and under the name tsr.zip and tsrsrc.zip.
konopka@cbnewsk.att.com (raymond.konopka..jr) (06/11/91)
In article <1991May30.142126.38466@kontu.utu.fi> tpelander@kontu.utu.fi writes: >> 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? >It is a DOS restriction that can't be removed. Instead of waiting for the >batch file to end start a new batch file after the release command. >This will do the trick. > > Tero Pelander Where can I find RELEASE and MARK? Is there an ftp site which has these? Thanks in Advance. Ray Konopka konopka@ihlpm.att.com
w8sdz@rigel.acs.oakland.edu (Keith Petersen) (06/12/91)
konopka@cbnewsk.att.com (raymond.konopka..jr) writes: >Where can I find RELEASE and MARK? Is there an ftp site which has these? WSMR-SIMTEL20.ARMY.MIL [192.88.110.20] Directory PD1:<MSDOS.SYSUTL> Filename Type Length Date Description ============================================== TSRCOM29.ARC B 74063 890621 TSR memory management utils (MARK/RELEASE) TSRSRC29.ARC B 86534 890621 Sources for TSRCOM29 pgms. need TPAS5 & TASM -- Keith Petersen Maintainer of the MSDOS, MISC and CP/M archives at SIMTEL20 [192.88.110.20] Internet: w8sdz@WSMR-SIMTEL20.Army.Mil or w8sdz@vela.acs.oakland.edu Uucp: uunet!umich!vela!w8sdz BITNET: w8sdz@OAKLAND