🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #505

Re: Flushing handlers out of memory.

#505
From: Darren New
Date: Mon, 17 Jul 1989 19:54
11 lines
1080 bytes
Note that if you start workbench with debug (loadwb -debug) then the
debug menu to the right of the special menu will have a flushlibs
that tries to allocate all the memory. If you want to expunge your
library every time you test it, simply call Expunge just after
you OpenLibrary. When the use count goes to zero, your library should check
and deallocate itself. When Exec runs out of memory, it seems to call
expunge on all the libaries (causing them to flush if zero count)
and then retry. Of course, I don't know if this works for handlers,
but all this stuff is already there for you in the case of libaries.
			    -- Darren
Technical Details
Message-ID: <19912@louie.udel.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!gatech!udel!new
References: <59256@linus.UUCP> <18551@usc.edu> <4118@amiga.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!gatech!udel!new
From: new@udel.EDU (Darren New)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Flushing handlers out of memory.
Message-ID: <19912@louie.udel.EDU>
Date: 17 Jul 89 19:54:07 GMT
References: <59256@linus.UUCP> <18551@usc.edu> <4118@amiga.UUCP>
Sender: usenet@udel.EDU
Reply-To: new@udel.EDU (Darren New)
Organization: University of Delaware
Lines: 11