We have all seen the annoying resource messages regarding "something" that SW doesn't like. We have users that start SW and it pops up, others that only have 1-2 fairly simple parts open. We have Lenovo P5XX workstations, so it should not be the machines.
A few things that we have been doing for a couple of years:
1. Adjust Virtual Memory. There are a lot of 'thoughts' out there on this subject, most are better than leaving Windows to set it.
2. Increase the number of GDI objects and Process Handle via registry (this is also under the WOW6432Node area)
; This sets the GDI Objects higher
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows]
; set GDI object from default 10000 to 30000
"GDIProcessHandleQuota"=dword:00007530
; set Process Handle from default 10000 to 18000
"USERProcessHandleQuota"=dword:00004650
3. Attempt to shut off resource messages via registry > undetermined to what extent it really helps
[HKEY_CURRENT_USER\SOFTWARE\SolidWorks\Licenses\Subscription\2017\solidworks]
"Hide Messages"="True"
"Don't show messages"="TRUE"
@echo off
CLS
Title SolidWorks Pre Install Script
taskkill /f /im sldProcMon.exe
2. Create a macro in SWX:
Sub main()
Set swApp = Application.SldWorks
Shell ("C:\EnterpriseVault\Support\Macros\SWX_Resource_KillProcess.bat") < this is the location and name of the batch file created
End Sub
3. Add a button to the macro toolbar:
It takes about 6 seconds to kill the process, and the icon to disappear from the Task Bar.
Hope this helps someone...