Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!nike!ucbcad!ucbvax!hplabs!qantel!ptsfa!well!pariseau From: pariseau@well.UUCP (Robert S. Pariseau) Newsgroups: net.micro.amiga Subject: Re: --Bug report-- (fonts -- bogus!) Message-ID: <1265@well.UUCP> Date: Thu, 12-Jun-86 21:24:55 EDT Article-I.D.: well.1265 Posted: Thu Jun 12 21:24:55 1986 Date-Received: Tue, 17-Jun-86 07:57:42 EDT References: <8606101821.AA15403@pavepaws> Reply-To: pariseau@well.UUCP (Robert S. Pariseau) Organization: Whole Earth Lectronic Link, Sausalito CA Lines: 17 This is not a bug. The memory usage model in the Amiga keeps disk-loaded items in memory until a request for free memory exceeds the size of the largest available free chunk. This eliminates unecessary reloads from the disk when an item is frequently closed and re-opened. Disk-loaded fonts will stay in memory until AllocMem() goes through its Expunge algorithm. When AllocMem() decides to Expunge, it will attempt to remove any disk-loaded font which currently has zero "openers". Note that the process of Expunging fonts was BUGGY in V1.1. It should work correctly under V1.2. Some programs use the trick of attempting to allocate a chunk of memory which is larger than can possibly be available in order to force AllocMem() to Expunge things that happen to be lying around. Note that if the Expunge processing actually removes anything, then AvailMem() will return a larger number after the fake AllocMem() call than before.