OS4 DepotLogo by McFly 
(anonymous IP: 3.148.106.49,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Utility » Script » flush.lha

Flush

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 07
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: 12  (Current version)
12  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
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
Flushing...
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 (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment