Low memory handler

Kickstart 3.0 added AddMemHandler call to install memory handler to the system. Memory handlers are executed when the system can not allocate enough memory. User applications can use this to free their caches if deemed useful. Here is a short example how to use memory handlers on Amiga.