Virtual Memory - Settings and Suggestions

Moderator Moderator
Labels (1)

This article was originally written by Matt_TheCru and featured on the CRU blog.


Virtual memory (also known as a page file) is essentially a block of space on your hard drive or SSD being allocated by the OS to pretend to be RAM when your physical RAM runs short for actively running programs. It supplies additional "fake" RAM to allow programs to continue functioning, but because hard drive and SSD access and performance is much slower than that of actual RAM, noticeable performance loss is usually observed when relying on virtual memory extensively.

Managing virtual memory in a Windows system is relatively easy, but largely unnecessary. Windows will, by default, adjust it on the fly based on your needs and your installed RAM. It tries to set itself to what it expects you to need based on your installed RAM and it will adjust itself if your usage spikes. This can lead to it self-adjusting to end up taking a large amount of space if you are currently running a large amount of RAM (for example a system with 8GB of RAM will often default to 8GB of virtual memory and can grow as large as 16GB). Some users will change it to reduce space being used by their OS on their hard drive or SSD because they feel they have sufficient RAM to never need to rely on the virtual memory feature of their OS, and (especially with higher cost storage on an SSD) to reclaim space that is simply being wasted if that virtual memory is not being used. However, reducing or eliminating your virtual memory to free up drive space carries some risk of causing errors or system instability in cases where you would need more but have capped what your system can use.

Increasing this memory setting is also generally not needed. Instances where more virtual memory makes the difference between a program working or not are best solved with a RAM upgrade, as RAM speeds greatly exceed the performance of virtual memory. Your system performance will be reduced compared to improving the dedicated hardware meant to provide this benefit.

Manual adjustments to this setting are done at your own risk, and this should not be attempted unless you have solid guidelines toward what you actually need. Under-allocating space for this can lead to programs or your system as a whole malfunctioning. Additionally, older programs are designed with the assumption there is a page file in place for them to use, and malfunctions of individual programs may occur if this is unavailable to them due to incorrect configuration.

Detailed instructions for these adjustments in older versions of Windows vary slightly from the below but will still be mostly applicable, as this feature has not changed much from Windows XP on.

1. Enter System Properties by either the 'System' link in the 'System and Security' sub-menu of Control Panel or by right-clicking 'Computer' in your start menu and selecting 'Properties (Windows 7 and earlier only). This will open the Window pictured below.




2. Select 'Advanced System Settings' (link outlined in red numbered 1 in the above screen). This will open a window titled "System Properties".




3. Click the "Settings" button in the Performance category (outlined button labeled 2 in the screenshot above). This opens the Performance Options window.

4. Navigate to the Advanced tab (outlined and labeled 3) then click the Change button (outlined and labeled 4). This will open the Virtual Memory window (outlined and labeled 5), from which any adjustments can be made.

If you disable the 'Automatically manage paging file size for all drives', this window will allow you to manually set sizes or size ranges, specify which drive this space is placed on if you have more than one (to free up space on an SSD by moving the page file to a secondary platter hard drive), or disable the feature entirely.

While some users do shut off automatic management, or virtual memory features as a whole, our official recommendation is to leave it in place. If you are comfortable reducing the size based on your usage that can be done safely, but disabling this entirely is not necessarily safe. Even if you feel you have sufficient RAM to go without this, that change does put you at risk of poorly optimized software, particularly something with a memory leak issue ballooning it's RAM footprint, causing malfunctions later.

Bit Baby

I may be incorrect but you can not turn virtual memory off in windows you can set an amout or windows wil automatically manage the page file size. Although I checked recently and have never set an amount windows say's I have 2432MB's allocated and recommended amount is 5617MB's and 16MB's minium. Crucial/Micron needs to create virtual memory in there SSD's for the benifit of those who may have very low RAM a RAM sector in the SSD waa-la! sell that on the market virtual memory SSD's.

Community Manager Community Manager
Community Manager



By Selecting 'No Paging File' in the Virtual Memory panel, you disable virtual memory entirely. By default, Windows does manage this and most users don't need to deviate from its default settings, but there are cases where someone may want to reclaim hard drive space if they know they don't need as large an amount allocated for their use.


Our SSDs can be used as virtual memory for your OS as you are suggesting, though it's a lower performing solution (even on an SSD) than ensuring you have sufficient RAM installed for your applications.