Most modern operating systems automatically restore all process memory after the process is complete. This usually works when the OS forces out all the virtual pages associated with the process from its page table. Therefore, if you do not have the old OS or if a strange OS error does not hit, the memory must be fixed.
source
share