OS4 DepotLogo by mason 
(anonymous IP:,2119) 

   Bug tracker
   Locale browser


   o Audio (342)
   o Datatype (51)
   o Demo (203)
   o Development (593)
   o Document (22)
   o Driver (96)
   o Emulation (146)
   o Game (992)
   o Graphics (494)
   o Library (113)
   o Network (228)
   o Office (65)
   o Utility (911)
   o Video (69)

Total files: 4325

Full index file
Recent index file



Support the site

 Readme for:  Utility » Script » flush.lha


Description: Flush all memory with OS4 Final
Download: flush.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 814b
Version: 1.0
Date: 04 Mar 2007
Author: Nick Clover
Submitter: James Carroll
Requirements: OS4 Final
Category: utility/script
License: Public domain
Distribute: yes
Min OS Version: 4.0
FileID: 2609
Comments: 1
Snapshots: 0
Videos: 0
Downloads: 372  (Current version)
504  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
The "c:avail flush" command in OS4 Final is a bit funny. It doesnt seem to
flush all memory in one go, and needs to be executed many times in a row
to flush everything that can be flushed. Well, Severin / Nick Clover has
come up with a script to get around this.

Simply copy this script to c: , and then type "flush" in shell to free your
RAM in future. It will loop until its done.

Heres an example of what it looked like when I tried it just now:

4.data1:downloads> flush
Flushed: 6472 kb.
Flushed: 640 kb.
Flushed: 652 kb.
Flushed: 668 kb.
Flushed: 640 kb.
Flushed: 640 kb.
Flushed: 384 kb.
Flushed: 32 kb.

Free ram before flush: 241812 kb.
Free Ram after flush: 251780 kb.
ram freed: 9968 kb.

Isnt it neat?! Thank you Nick. :)

Note: Make sure the +s protection bit is set, so you can execute this script
by typing its name in shell, rather than "execute c:flush".

NOTE: I did NOT make this script. Thank Nick Clover for his work, not me!

Copyright © 2004-2023 by Björn Hagström All Rights Reserved