C (235/304)

From:Colin Wenzel
Date:26 Aug 2000 at 10:51:57
Subject:Re: Freeing list with Classact

On 26-Aug-00, Allan Odgaard wrote:
> On 26-Aug-00, Colin Wenzel wrote:

>> if( mem = AllocMem( 0x7FFFFFFFL, MEMF_PUBLIC))
>> FreeMem(mem, 0x7FFFFFFFL);

> uh... no one should initiate a memory flush from within their program
> because the data flushed should stay in memory for as long as
> possible, as it'll speed up the machine due to no loading of disk
> resources. And cached data may also include a disk cache etc.
> Regards Allan

I know that, but the point is, the fellow was wondering how to
get all the memory back after running his program.

It was simply a demonstration of a "Better Way"(TM)
of doing an "Avail FLUSH" to release resident objects.

Regards



_________________________________________

Colin Wenzel. Australia.

EMAIL: colstv@hotkey.net.au
URL: http://www.hotkey.net.au/~colstv/
ICQ: 17608330
AMIGA: 4000T, 68060/50, 150Mb RAM,
OS 3.5, Spectrum Gfx Card.

Need an Image Generator For CATV ??
http://connect.to/products
_________________________________________