Author: Chris Briand, CSWE, Javelin Technologies
A kin to the article that our teammate, Josh Carrier, wrote back in 2010, I thought it high time we review the process of how to increase virtual memory on your workstation.
We use this procedure a great deal when attempting to enhance the performance of systems where SOLIDWORKS is having difficulty with importing or exporting geometry, or handling larger assemblies. What we are essentially doing is raising the ceiling and giving the operating system the extra room it needs to maneuver if it runs out of physical memory.
One of the tidbits we have discovered over the years is that SOLIDWORKS typically throws the demand for more page file at the Operating System so quickly that it takes time for the operating system to allocate the needed amount of virtual memory, further slowing operations.
SSD or NOT?
One item to highlight, having grown in prominence these last few years, is the effect of a page file being located on an SSD drive, which may be acting as the host drive for your Operating system and installation of SOLIDWORKS.
Before SSD technology was readily available you would have placed the page file on the Root of the main drive (C:\), without jeopardizing the long term safety of your HDD drive. The trade off here is that writing operations to a page file located on the HDD would have slowed performance slightly as the HDD was much slower than RAM. This is still true today with SSD drives however there is an added danger, as SSD’s have a limited lifespan and can only handle so many writing cycles – it may be a better choice to locate a larger page file on a secondary spinning disk.
How much RAM?
To properly adjust your virtual memory values, you will need to know how much physical memory, or RAM, is on the system. You can find this by navigating to the System Information Dialog
The System Info Dialog can be found by typing “System Info” in windows 10 and opening the System Info dialog (or Start > All Apps > Windows Administrative Tools > System Information)
IMPORTANT: One question to research before attempting the following procedure is: Do I have sufficient Disk Space to make a change to the page file size?
With Physical Memory (RAM) amounts of 4GB to 24 GB we suggest having a page file minimum size set to 2 times the amount of Physical Memory (RAM) in the system.
If you are lucky enough that you have more than 16 GB of RAM in the system, we suggest that the page file minimum be set between 1 and 1.5 times the amount of RAM.
Changing the Virtual Memory Values
- Within the Windows 10 Search type “Performance”
- This should bring up an entry that states: “Adjust the appearance and performance of Windows” (This is the same dialog that you would have accessed if you had navigated via the control panel: Control Panel > System > Advanced System Settings > Advanced Tab > Settings)
- Once you have arrived within the performance options dialog choose the Advanced Tab > and select the “Change” button located within the in the Virtual Memory section of the dialog.
- Uncheck the “Automatically manage paging file size for all drives” Option
- Select the drive where you have room or deem it appropriate to place the page file.
- Choose the “Custom Size” Radio Button.
- Enter a MINIMUM value of 1 to 2 times the amount of physical RAM you have in the system. (16GB would appear as 16000MB)
- Enter a MAXIMUM value of 2GB more than the MINIMUM value specified in the step above. (This will ensure that windows reporting and other diagnostic reports are correct)
- Choose the “Set” button
- Restart the Workstation to realize the changes to Virtual Memory.