Memory-hungry XP apps get their due

Please let us know how useful you find this tip by rating it below. Do you have a useful Windows tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize!

Requires Free Membership to View

Recent versions of Windows support a switch option in BOOT.INI called the /3GB switch, which adjusts the way memory is allocated between the user and the operating system. By default, the split is fifty-fifty -- up to two gigabytes for the user and two for the operating system. The /3GB switch option sets those limits at three gigs maximum for the user and one gig for the operating system.

As the name implies, /3GB was originally meant to be used in systems that have 3 GB or more of RAM -- something that is no longer quite as rare as it used to be! However, even if you don't have 3 GB or more of memory, you can still use the /3GB switch successfully if you are running memory-hungry desktop applications. Photoshop, for instance, is infamous for staking out as much RAM as it can. With /3GB enabled, there's that much more memory that the application can use.

I've written previously about using the /3GB switch in both Windows 2000 Server and Windows 2003 Server environments to bolster performance of memory-intensive services such as Exchange Server and SQL Server. But, in a desktop environment, you should consider any use of /3GB to be provisional until you determine that the application set you're using plays nicely with it. (My usual rule of thumb for seeing if something holds up under stress is to try it for two weeks under varied conditions; if it doesn't crash, it's probably okay.)

To add the /3GB switch as a separate boot option:


  2. In My Computer | Properties | Advanced | Startup and Recovery, click Settings.


  3. Click the Edit button under System Startup to edit the BOOT.INI file.


  4. Find the current boot entry, which typically looks like this:

    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect


  5. Copy this line and paste it at the end of the BOOT.INI file, and change it along these lines:

    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional 3GB Switch" /fastdetect /3GB

    This lets you choose between a conventional boot entry and the /3GB boot entry. If something goes wrong when you use /3GB, you can always boot back into the original configuration.


  6. Save and close BOOT.INI.


  7. Click OK to close the Startup and Recovery panel.


  8. Click Settings again, and in the "Default operating systems:" dropdown, choose the newly created boot entry with the /3GB switch.


  9. Click OK to close everything. Reboot into the new profile.


Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators -- and please share your thoughts as well!

This was first published in July 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.