SHADES wrote:
@Zac67
Surely there is a lookup table or something for the system. How would the system know where memory is allocated to what program or where it can find free memory otherwise.
The OS knows where the free and allocated memory is. The problem is that the OS has no way of telling the application using the memory that the memory allocated to it has moved (PalmOS has a mechanism for this, but it requires software to be written specifically to take advantage of it).
The most a utility could do (short of mucking about with the MMU) is join contiquous free blocks in the free memory list, but I would hope the OS does this by itself.