OS4 DepotLogo by DBAlex 
(anonymous IP:,2216) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

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: 387  (Current version)
519  (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-2024 by Björn Hagström All Rights Reserved