[comp.sys.amiga.tech] ARP kill

edwin@hcr.UUCP (Edwin Hoogerbeets) (07/19/88)

A suggestion (actually a question) for the next release of arp.library: 

Arp keeps track of what memory you allocate, so that it can free it
again when you exit(). Since it is doing this anyways, is there any way
to use that information when the program phreaks out? Is it
possible to make, in effect, an arp kill that will free up all the
memory used?

I could see a problem if arp uses the process' data segment to store its
info, because you don't know if that info is munged upon by the faulty
program. But, if it stores "who allocated what" in its own global area,
then you could easily kill an arp based program. This would include
all the DOS utilities.

Or maybe Matt could add this to his proposed resource tracking stuff he
was talking about a few months ago. Or maybe even C= could add it to
AmigaDOS? 

I have no idea how much memory this would take up, or if it is feasible
or any such thing: this is only put out for discussion. I'm just tired
of running out of memory with a whole meg of half-fast ram.

------ --------- = -------------------------------------------
Edwin (Deepthot)                      Waterloo co-op student, HCR Corporation
Hoogerbeets		                   2A computer science and psychology
utai!{utzoo,utcsri}!hcr!edwin                 Null human body; hope that's ok
                    edwin@hcr       //                        Me Tarzan, Unix
or:                                //                         I/owe is costly
...!hcr!MsgPort!edwin          \\ //   Amiga        Glider pilots are experts
A B2000 running UUPC            \X/  Enthusiast             at keeping it up!