Adjusting Virtual Memory (Windows Pagefile) for increased SOLIDWORKS Performance

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

  1. Within the Windows 10 Search type “Performance”
  2. 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)

Adjusting Virtual Memory for SOLIDWORKS Performance

Accessing Virtual Memory

  1. 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.
  2. Uncheck the “Automatically manage paging file size for all drives” Option
  3. Select the drive where you have room or deem it appropriate to place the page file.
  4. Choose the “Custom Size” Radio Button.
  5. Enter a MINIMUM value of 1 to 2 times the amount of physical RAM you have in the system. (16GB would appear as 16000MB)
  6. 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)
  7. Choose the “Set” button
  8. Restart the Workstation to realize the changes to Virtual Memory.

 

Javelin Technologies
Javelin Technologies is a provider of technology solutions since 1997. We are experts in 3D design and have helped thousands of companies with solutions for mechanical design, electrical design and 3D printing. Large or small, we have the skills, experience, and services to propel your organization to new heights so you can aim high.
Javelin Technologies
  • I prefer to keep the pagefile size static, so there is no much fragmentation.

    • ChrisBriand

      We used believe that keeping the page file static was the best course of action as well, however it makes a mess of the windows logging and reporting, so we choose to keep the maximum and minimum values slightly apart to ensure that the windows operating system can report correctly.

  • Robert Haccou

    I used to run Solidworks just fine on my 6yr old laptop, no issues (2015 SSP3 @WIN7). Now with my new laptop it can barely adjust the camera anglr without lagging, while it has 2x RAM and a much better CPU and GPU… (2015 SSP5 @ WIN10, MSI LEOPARD PRO)
    I read that WIN10 has compatibility issues with SW and memory leaks, how much of this is true or how do I solve the problem?