A list of all allocated blocks can be written to the memory description file by calling the function:
void Amem_dump(int final);
If final is non-zero, it is considered the final memory dump. The memory description file is closed, and the memory description feature is turned off.