Save copy of memory map during compile.