How can I clear virtual memory? How can I clear the paging file memory?
Registry Editor
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Memory Management
Find "ClearPageFileAtShutdown" on the right. Open it and set the value to "1."
Local Group Policy Editor
"Computer Configuration" - "Windows Settings" - "Security Settings" - "Local Policies" - "Security Options"
In the window, find the line "Shutdown: Clear the virtual memory paging file." Select "Enabled," then apply and save the settings.