From: | Jack York |
Date: | 27 Aug 2000 at 20:14:26 |
Subject: | Re: Freeing list with Classact |
Hello Colin
On 26-Aug-00, Colin Wenzel wrote:
> On 26-Aug-00, Jack York wrote:
>> Hello,
>> I realize this is specific to ClassAct. Hopefully someone here can
>> give me an idea though.
> -snip-
>> Typing in avail flush from a shell brings it
>> all back. As a hack, I tried issuing the avail flush command
>> from within the program. It frees a little more memory that
>> way but there is still a lot the system doesn't recognize until
>> an external flush is done.
>> Does anyone know of a way around this
>> but still using ClassAct?
>
> It's keeping the bit's & pieces resident incase someone else wants to
> use them, that is the normal behaviour of libraries, etc on Amiga.
No, not in this case. Depending on the size of the list, it can keep
up to 10 meg tied up till I flush it.
> Now, if you really want to "Flush" them on your program exit,
> there is a simple way of doing it.... Also, it's not a hack !!!
>
> Just allocate more memory than you have & that causes a
> system flush...
what the FreeMem() is for (:?
Thanks Colin. I'll keep this in mind if I can't find out why it
won't free correctly. It would be better than starting over
and having to rewrite the gui. :(
Jack