Clear Virtual Memory on shutdown
Virtual memory can be found in the file named PageFile.sys
. It is important to clean it regularly to avoid risk of crash or error message.
To clean virtual memory
- Open "
run
" and type regedit
- Search for
HKey_Local_Machine/System/Current Control Set/Control/Session Manager/Memory Management
- Right click on
ClearPageFile At Shutdown
and put value to "1"
This will clear your virtual memory each time you shutdown your computer.
Increase Paging file size
On computers that have 8 GB of RAM, the suggested paging file size is 16 GB.
Procedure
- Click Start > Run and then type
sysdm.cpl
, and press Enter.
- Click the Advanced tab.
- In the Virtual Memory section, click Change.
- If necessary, clear the Automatically manage page file size for all drives check box.
- Find the list of drives and select the drive that contains your paging file.
- Select Custom Size.
- Reset both the Initial Size and Maximum Size values to higher values.
- Click Set.
- Click OK.
Clear stand-by memory
- Download and install RamMap from Windows documentation.
- Select menu: Empty -> Empty Standby List
- Then refresh (F5).
References