SolidWorks Performance Blitz! (Part 1: /3GB Switch)
April 9th, 2008
| Part 1: /3GB Switch |
| Part 2: Anti-virus Tip/Trick |
| Part 3: Virtual Memory |
| Part 4: Computer Processor |
| Part 5: Computer Maintenance |
| Part 6: Autosave & thumbnails |
 *New additional details about boot.ini have been added at the end of this article in this color*
Windows NT, 2000, XP for 32-bit have one important limitation in memory management. By default, they limit any program running to 2GB of physical memory.  This means that if you have 3 or 4 GB of memory plugged into your computer’s motherboard, SolidWorks will still only use 2GB. To allow SolidWorks (and any other program) access to another GB of memory, employ what is known as the /3GB Switch. This is done by a modification to the Windows boot.ini file. Â
Using the /3GB Switch means that your software program uses more physical memory before it is forced to use harddrive space (virtual memory). The advantage is that physical memory is much faster than virtual memory, so SolidWorks performance should improved on larger files that might otherwise need to dip into virtual memory.
It should be noted that there are potential issues with using the /3GB Switch. Please see the hyperlinked article and Microsoft online resources if problems are experienced. Also, if you do choose to make this modification to your computer system, you do so at your own risk!
Here are the instructions to employ the /3GB Switch:
1. Open Notepad.
2. Goto pulldown File>Open.  Type C:\boot.ini into the file name area and select Open. The boot.ini file might be hidden from view, even if you have Windows Explorer set to view hidden files.
3. Save a backup of the file to something similar to C:\boot.bak.txt. This is so you will have a backup of your current settings if you need to quickly switch back.Â
4. Re-open C:\boot.ini.
4. Look for the something similar to following line within the file:
Categories: How-To, Tip/Trick | Tags: /3GB Switch, boot.ini, SolidWorks performance, windows performance





Excellent !!! I did it, even if I changed the attrib from the cmd but it works.
Thanks
I enabled the 3GB switch and it certainly does work. It also started crashing my computer. Particularly if I even breathed on my video card settings.
Win XP 32 Bit SP 3.0
Nvidia FX1400 Quadro card
[...] other comment that might turn some heads is his stern statement to not use the /3GB switch to give applications access to more of the computer’s RAM. There are risks associated with [...]
There seems to be some confusion here about what this switch does. This switch has nothing to do with RAM usage. By default every process has a 4GB virtual memory space, 2GB for it’s private use, with 2GB reserved for the system. Note: this is virtual memory space and has nothing to do with how much RAM is in the system. The /3GB switch changes the division to 3GB for application use with 1GB for the system.
Applications use virtual memory exclusively – no exceptions. All references to memory go through the virtual address translation system of the processor. Also note, the term “virtual memory” as used here has absolutely nothing to do with the pagefile. Many uninformed sources have confused virtual memory with the pagefile.
The switch has major system implications. Few applications will be able to use a 3GB address space. Only those applications that explicitly indicate that they are compatible will be given the larger address space. With the restricted space allowed for system use the file cache will be severely reduced, thus impairing overall system performance.
In general the /3GB swith should only be used when an application REQUIRES the larger virtual space. There are very few, and most of these are server applications.
One last time, the swith has NOTHING to do with RAM usage.
References:
http://blogs.technet.com/askperf/archive/2007/03/23/memory-management-demystifying-3gb.aspx
Larry Miller
Microsoft MCSA
The biggest omission from the above explanation is: DOES SOLIDWORKS BENEFIT FROM THE 3GB SWITCH on a 32 bit system with 4GB of physical RAM?
@solidworks … I have successfully used the /3GB switch (with SolidWorks) on systems with only 1GB of RAM.
The answer is emphatically YES. Solidworks is one of those few programs that will take advantage of more virtual memory space and the performance with large files is greatly impoved. Actually with large files, Solidworks will not operate at all with only 2GB of Virtual Memory Space, the “3GB” switch is the only way that Solidworks will not run out of memory resources for the large assemblies!
Adrian