LLX > Neil Parker > Apple II > Memory Information NDA

Memory Information NDA

This is a New Desk Accessory (NDA) for the IIGS that displays some basic information about how much RAM you have and how much is in use. A Purge Memory button is available to try to maximize the amount of free memory.

Purge Memory works by trying to allocate a memory block big enough to contain your entire RAM. This is guaranteed to fail, but before it fails, it frees up all purgeable memory blocks, and tries to consolidate unallocated memory into as large a contiguous block as possible.

I've found that this often helps various programs succeed at operations where they would othewise fail because they couldn't allocate a big enough block of memory. But it's not necessarily always safe...purging purgable memory blocks is supposed to be OK, but some buggy software might mark memory blocks as purgeable when they're still needed.

The free and used memory display auto-updates every five seconds.

Requirements

Apple IIGS with Prodos 16 or GSOS. It was developed under (GSOS) System 5.0.2, and has been verified to work with System 6.0 and System 6.0.1. I don't know of any reason why it wouldn't work with earlier system software too.

Usage

Copy the file "MEMORY" into the System:Desk.Accs folder of your boot disk, and reboot. Then choose "Memory Info" from the Apple menu.

Download

mem.nda.shk (Shrinkit archive, 6495 bytes)

What's inside:

LLX > Neil Parker > Apple II > Memory Information NDA

Original: June 26, 2016