DriveWorks


All the Applications, Scripts, Plug-ins, and Add-Ons listed here are completely FREE to use or modify as covered under the:

PolyForm Noncommercial License 1.0.0

Contact me at for a commercial license.

If you have an idea or specific request for a new DriveWorks (DW), SolidWorks (SW), EspritCAM Add-in, Rhino Script/Addin/Plug-in or any other sort of automatization, do not hesitate to contact me at the email listed at the bottom of the page.

SWMemRelease


Description:
SWMemRelease  - Releases SolidWorks' (SW) Memory or the Active Private Working Set, if greater than a specified number (in bytes) without restarting SolidWorks. This will happen on the fly even if SolidWorks is in the middle of processing. It does so with no interruption or file corruption and SW continues without issue! No need to restart SolidWorks (Autopilot's settings) to release the SW memory. This is presently DriveWorks' (DW) solution to free up / release SW memory.

 

These solutions could be used as prevention methods to maintain SolidWorks' "responsiveness" in general, whether or not you are using DW to drive your SW!

 

All three solutions can be found and downloaded under the download section. Use the solution that fits your environment and circumstances best.

 

  1. Windows Form or Command Line

Run SWMemRelease as a Command line or WinForm - good for testing if you want to manually run it.
Commandline switches: /MEM2RELEASE (instruction to release memory) and /SHOW (will show SWMemRelease.exe windows form)

Examples of use:

SWMemRelease.exe /MEM2RELEASE=200000

SWMemRelease.exe /MEM2RELEASE=-1

Make sure there are NO spaces in the command line switch (/MEM2RELEASE =200000 is NOT good!)

Setting up a Limit to -1 will release SW memory regardless of what SW is using at that moment - use it for prevention or to refresh

Note: The app has to be run under an admin account!

 

Machine generated alternative text:
SolidWorks Memory Release 
SLDWORKS Active Memory Private Working Set (bytes) 
Get SolidW01ks PWS Memor,' 
Limit 
Release SW Memor,'f >than 
Dri v 
27168 
100000  

 

 

  1. Windows Service

 

Run SWMemRelease as a Service - set it and forget it on the computer where SW is installed. It requires you to install the service once with admin rights, then all is good.

Details on the SWMemRelease Service are here

 

  1. DriveWorks Add-On

 

DriveWorks Project Extender Add-On Available commands: "GetSolidWorksCurrentMemoryUsage" and "ReleaseSolidWorksMemory" - Automatically Queued, good while "Autopiloting. (The more suited place for the SW memory release would be under an Autopilot settings page). Below are example of use the commands within Rule Builder.

The SWMemRelease.dll HAS to be renamed to the same name as your DW project name and placed in the same folder where the project is located! Then it will be loaded at Administrator or Autopilot start.


i.e.
Name of your DW project: MyDWProject
Rename SWMemRelease.dll to MyDWProject.dll
 

 

Complete list of functions available in SWMemRelease.dll:

GetSolidWorksCurrentMemoryUsage  
ReleaseSolidWorksMemory
FindEx
FindBetweenEx
FindBetweenEx2



GetSolidWorksCurrentMemoryUsage

 

 

 

ReleaseSolidWorksMemory

 

 

 

 


FindEx (overloaded, there are two functions in one, dependent on the parameters supplied)

 

 

FindBetweenEx (overloaded, there are two functions in one, dependent on the parameters supplied)

Machine generated alternative text:


FindBetweenEx2

Machine generated alternative text:

 

 

License is covered under: PolyForm Noncommercial License 1.0.0

Contact me at if you'd like to use it commercially.

Use the above solutions responsibly. If they work, I wrote it. If they do not, I have no idea who wrote them.


Downloads

SWMemRelease_WinForm.zip
SWMemRelease_Service.zip
SWMemRelease_DWAddOn.zip

 


 

 



C# / C++ / VB / CAD / CAM / Esprit / Rhino3D / SQL / SOLIDWORKS /DriveWorks / SolidEdge programming & 3D Solid Designspan>
T
o contact me, I am available through the below listed e-mail address. If you are interested in any of the above, just drop me an email and I can make what needs to be done.

e-mail:   








keywords: on line on-line online esprit esprit CAM nesting E-Nesting.com 2D vector web software asp on line optimization layout xml shoe glass sheet metal free placing cutting strategy case before waste dot .net minimal waste algorithm industry yield material cost save reduce true nesting IGS IGES interactive automatic true rhino3d rhino CAD CAM DXF DWG 3DM convert free layout algorithm shear nest true browser industry on line on-line online nesting E-Nesting.com 2D vector web software asp optimization layout xml shoe glass sheet metal free placing cutting strategy case before waste dot .net minimal waste algorithm industry yield material cost save reduce true nesting IGS IGES interactive automatic true rhino3d rhino CAD CAM DXF DWG 3DM convert free layout algorithm shear nest true browser industry on line nesting on-line nesting online nesting "on line nesting" "on-line nesting" "online nesting" nesting software linear nesting rectangular nesting nesting optimization sheet nesting length nesting automatic nesting nesting part nesting on line on-line online E-Nesting.com 2D vector web software asp optimization layout xml shoe glass sheet metal free placing cutting strategy case before waste dot .net minimal waste algorithm industry yield material cost save reduce true nesting IGS IGES interactive automatic true rhino3d rhino CAD CAM DXF DWG 3DM convert free layout algorithm shear nest true browser industry convert dwg dgn convert dwg to dgn plant layout solidworks cam dwg viewer layout software dwg java viewer cad drawing cad drawing software cad drawing services cad drawing viewer cad drawing programs electrical cad drawing auto cad freeware auto cad auto cad software auto cad viewer auto cad courses cad cutting cad dxf rhino cad cad dwg rhino cad software cad freeware cad viewer freeware cad solidworks cad autocad freeware ad software cad viewer software cad cae cad viewer cad cad software cad linux medusa cad cad file viewer cad reader graphite cad cad library cad design cad interoperability cad translators cad translator ring cad cad sales cad equipment cad pdf cutting optimizer cutting diagram cutting software automatic cutting cutting edge cutting edge solutions metal cutting sheet metal cutting cardboard cutting dwg dxf viewer dxf file viewer dxf freeware open source dxf dxf convert to dxf convert convert dxf to pdf dxf mac java dxf dxf pdf cad cam cad cam freeware cad cam software cad cam solutions unigraphics cad cam cad cam cae cad cam companies auto cad cam dolphin cad cam cad cam jewellery cad cam jewelry cad cam pictures cad cam pdf sheet metal cad camp>