SHOPPING CART
SHOPPING CART
How to Monitor SOLIDWORKS Memory Usage

How to Monitor SOLIDWORKS Memory Usage

Table of Contents


Windows Performance Monitor graph tracking SOLIDWORKS memory usage
Performance Monitor gives a more accurate read on SOLIDWORKS memory use than other tools alone.

In this article, we will see how to use the Windows Performance Monitor to keep track of SOLIDWORKS memory usage. This is a really great tool that is installed with Windows and will give us a more accurate look at how much memory SOLIDWORKS is using as well as how much residual memory has built up during our current session of SOLIDWORKS. Remember that as you open and close documents in SOLIDWORKS residual memory will build up and the only way to get it all dumped is to restart SolidWorks, the Performance Monitor is one way to check if it may be time for a restart. The steps for setting this up are easy and if you save your settings as shown in the end you will only have to do this once!

  1. First, SOLIDWORKS must be running in order to set this up.
  2. Go to the Windows Start menu.
  3. In the Search Box type “perfmon /sys” and hit Enter to open the Performance Monitor in standalone mode (entering “perfmon” by itself will open the Performance Monitor with additional options to work with Data Collector Sets and Reports).
SOLIDWORKS assembly of a red hand truck open alongside Performance MonitorTracking memory while a model like this hand truck is open shows how usage builds during a session.
  1. With the Performance Monitor open you should see the default counter “%Processor Time”, you can have as many counters as you like, but for clarity, I will remove this one by selecting it and hitting Delete.
Performance Monitor graph tracking percent processor time for SOLIDWORKSProcessor time is one of several counters worth tracking alongside memory usage.
  1. Now it’s time to add the SOLIDWORKS counter, so click the Green Plus button on the toolbar or Right Click and select Add Counters…
Performance Monitor right-click menu with Add Counters highlightedAdd Counters is where you choose which SOLIDWORKS performance metrics to monitor.
  1. Click the Drop-down Arrow next to “Process” in the counters box (you will probably have to scroll up to see “Process”).
Performance Monitor Add Counters dialog with the Process category selectedSelecting the Process category is the first step to tracking SOLIDWORKS-specific counters.
  1. Under “Process”, scroll down to Private Bytes and select it so that it is the only counter highlighted.
Performance Monitor Add Counters dialog with Private Bytes selectedPrivate Bytes is the counter that reflects a process’s actual memory consumption.
  1. In the “Instances of selected object” box scroll down to SLDWORKS and select it. Click Add >> and then OK.
Performance Monitor Add Counters dialog with the SLDWORKS process instance selectedChoosing the SLDWORKS instance ensures the counter tracks SOLIDWORKS specifically, not another process.
  1. Now before saving this we will adjust some Properties (the Properties button is found on the toolbar or can be opened with the shortcut CTRL+Q).
Performance Monitor toolbar with the Properties button highlightedThe Properties dialog lets you customize how the memory usage graph is displayed.
  1. In the Properties menu, go to the Data tab and adjust the scale of our counter to 000001 ( a scaling of 1E-6). This should be the 5th selection down and scale our counter so that our graph will use a scale of 1:1 Megabyte.
Performance Monitor Properties Data tab listing the SLDWORKS Private Bytes counterThe Data tab controls the color, width, and style used to plot the memory counter.
  1. Next, let’s go over to the Graph tab and type in the Title box SolidWorks Memory and then in the Vertical axis box MB of Memory. We will also set the Maximum to 2000, though you can set it to any value that you find appropriate keeping in mind that 1000 = 1 Gigabyte of memory.
Performance Monitor Graph tab titled SOLIDWORKS Memory with a 2000 MB vertical scaleSetting a title, axis label, and fixed vertical scale makes the memory graph easier to read.

 

That’s pretty much it. Our last step will be to save our settings so we can call this up again later.

  1. To do this, go to File and select Save Settings As. Save this into a convenient location and the next time you want to check your SolidWorks Memory usage just give it a double click!
Performance Monitor graph titled SOLIDWORKS Memory plotted on a 2000 MB scaleWith formatting applied, the memory graph is ready to save for future monitoring sessions.
File Explorer showing a saved SOLIDWORKS Memory Monitor configuration fileSaving the counter setup as a file lets you reopen the same memory monitor with a double-click.

 

For more information and tutorials, check out our YouTube channel or contact us at Hawk Ridge Systems today!

Picture of Sean Marrs

Sean Marrs

Sean Marrs is an Applications Engineer at our office in Beaverton, Oregon. Sean has a BS in Mechanical Engineering from the California Polytechnic University San Luis Obispo. When he isn’t in the classroom, Sean spends his free time running around in the forest and drinking great micro brews!

Get a Price Match

Thank you for submitting your quote! A confirmation email is on its way. Please check your spam folder if you do not receive it.

While you are waiting, check out our Resource Center or read our Blog!

Success

Register Now

Thank you for registering! A confirmation email is on its way. Please check your spam folder if you did not receive one. See you soon!

While you are waiting, check out our Resource Center or read our Blog!

success

Register Now

Thank you for registering! A confirmation email is on its way. Please check your spam folder if you did not receive one. See you soon!

While you are waiting, check out our Resource Center or read our Blog!

success

Register Now

Thank you for registering! A confirmation email is on its way. Please check your spam folder if you did not receive one. See you soon!

While you are waiting, check out our Resource Center or read our Blog!

success

Get Your Download Today!

Thank you for your download! We've sent your download to the email address you provided. Please check your spam or junk folder if you don't receive it. It may take a few minutes to arrive.

success