Reset the virtual memory
Here is a low and dirty way:
Open the System file.
Do a GET1RESOURCE for "vm " resource id zero.
POKE zero into the 4th, 5th and 6th byte.
Do a CHANGEDRESOURCE and a WRITERESOURCE.
Close the System file and you're done.