Our November Competition
User Reviews - Add Yours!
The PCHF Lounge
Go Back   PC Help Forum » Hardware » Memory
Register for a Free Account

Memory - Getting more memory out of Windows posted in the Hardware forums; Access more memory, even on a 32-bit system By Scott Dunn No matter how much memory you have in your PC, you may not be getting the most out of ...


Closed Thread
Recommended Driver Scanner
Old 03-23-2009   #1
Mod/Tech Support Staff
 
vger's Avatar
 
Join Date: Oct 2007
Location: second star to right,and straight on till morning
Posts: 2,065
PC Experience: I will learn this stuff if it kills me
Default Getting more memory out of Windows

Access more memory, even on a 32-bit system


By Scott Dunn

No matter how much memory you have in your PC, you may not be getting the most out of your installed RAM.

A few little-known system tweaks can improve the way Windows manages memory, freeing up more RAM for your applications.


As described in an entry on the Microsoft Developer Network, all non-server 32-bit versions of Windows XP and Vista impose a memory limit of 4GB. Your system may allow you to install more than this amount of RAM, but with few exceptions, the extra memory won't do Windows or your applications any good.

Moreover, even if you have 4GB of memory installed in your PC, you may not be able to use it all. For example, if your video card comes with 1MB of memory and you have 4GB of RAM, your system actually has 5GB of memory physically installed. But Windows will use only 4GB of that total, regardless.

It gets worse: according to a comment posted to the MSDN article, Windows itself is getting only 3GB because the video card gets 1GB. This happens because the memory aperture — a portion of system memory — is used to work with the video system.

Ways to break through Windows' RAM ceiling

Fortunately, there are techniques you can use to get around Windows' system-memory limitations. One method is to use Physical Address Extension (PAE), a feature of x86 processors that lets 32-bit operating systems overcome the 4GB memory limit.

Another MSDN article explains that 32-bit Windows operating systems support PAE. Even though XP and Vista still cling to the 4GB limit with PAE enabled, the feature may help you get back some of your unused RAM.

In one or two rare cases, a developer may take advantage of PAE technology to get around the usual Windows limits. For example, reader Alan Gorski reports that when he increased a computer to 8GB, the program AutoCAD was able to open large drawing files without generating the "out of memory" errors he previously had seen. As Gorski notes, "AutoCAD has long used special memory management techniques since the DOS days to maximize use of available RAM."

There's a good chance your system is already using PAE. That's because Windows relies on the technology to support the security feature known as Data Execution Prevention (DEP). For more information about Windows and DEP, see my Top Story in the May 3, 2007, issue.

If a computer supports hardware-enforced DEP, then PAE is enabled as well. Here's how to check for it in Windows XP:

Step 1. Choose Start, Run.
Step 2. Type sysdm.cpl and press Enter.
Step 3. Click the Advanced tab. In the Performance box, click Settings and choose the Data Execution Prevention tab.
Step 4. Look for a status message at the bottom of the dialog box. If it indicates that your hardware does not support DEP, chances are PAE is not enabled.
To check your system's PAE status in Vista, do the following:
Step 1. Press Win+R to open the Run dialog box.
Step 2. Type SystemPropertiesDataExecutionPrevention and press Enter.
Step 3. If prompted by User Account Control, click Continue.
Step 4. If the status message at the bottom of the dialog box says your system supports DEP and the "Turn on" button is selected, then PAE is enabled as well.
If PAE is not already enabled on your system, here's how to activate it in Windows XP:
Step 1. Choose Start, Run.
Step 2. Type notepad c:\boot.ini and press Enter.
Step 3. Under the [operating systems] heading, look for a line that contains the /noexecute switch, which turns software DEP. For example, it may be /noexecute=optin, /noexecute=optout, or /noexecute=always on. Place the cursor directly after that switch and type a space followed by /pae. Save the file and reboot.
If you don't have DEP enabled on Vista (or you don't want it enabled), you can still activate PAE by following these steps:
Step 1. Click Start, type cmd.exe and press Ctrl+Shift+Enter.
Step 2. If prompted by User Account Control, click Continue. This opens a command prompt window with administrator privileges.
Step 3. At the prompt, type BCDEdit /set PAE ForceEnable and press Enter.
You can read more about PAE in this post on Microsoft's TechNet site.

Microsoft warns in another TechNet article that some drivers will not load if PAE is enabled. After you make this change, keep an eye on your system. If you have problems with drivers or your system starts acting up, remove the /pae switch from boot.ini in XP, or enter the following command line in an administrator command prompt in Vista:

BCDEdit /set PAE ForceDisable

For more information on the switches and settings related to PAE, consult this MSDN paper, "Boot Parameters to Configure DEP and PAE."
__________________
Saving a life, one good reason to join the PCHF WCG Team...
Voodoostarz / PCHFRules /Prework
"Found an answer elsewhere; we would appreciate your input to help others who may have a similar problem"
If you need help;just ask!

Last edited by vger; 05-17-2009 at 06:51 PM.
vger is offline  
Advertisement - Register to Remove

Old 03-23-2009   #2
Moderator
 
Sir Trews's Avatar
 
Join Date: Mar 2006
Location: Where ever my 18 wheels take me!
Posts: 2,536
PC Experience: Always Learning
Default Re: Getting more memory out of Windows

Nice vger!!

I know just how that goes with the AUTOcad... they had no choice but to find a way to maximise RAM capability because that is one heavy program to use!

I'll be looking more into what you have posted here as I have 4G installed, but I don't think I'm getting all I can out of it, even tho there is never any lag, no matter what I have running.

Thanks vger!
__________________
Saesa omentien lle
(Pleasure meeting you)
Sir Trews is offline  
Old 03-24-2009   #3
Mod/Tech Support Staff
 
vger's Avatar
 
Join Date: Oct 2007
Location: second star to right,and straight on till morning
Posts: 2,065
PC Experience: I will learn this stuff if it kills me
Default Re: Getting more memory out of Windows

Thanks,i find this kind of stuff all the time,then save it or not,then try to remember where i put the info?????????go figure,also i have been using this software also****************>>> Minimem

The memory optimization solution to run modern applications on not-so-modern computers

Initially developed for Firefox only, Minimem now can reduce the memory footprint of any application. It runs in the background and can be set up to optimize as many proceses as you'd like, using a very intuitive graphical interface. Unlike other memory optimization tools, it gives you full control over what applications you want to optimize, when and how often, as well as the possibility to only optimize memory when required and relevant.

It optimizes memory by removing as many non-necessary memory pages as possible from the selected processes. It does so at regular intervals which can be user-defined as well and every 30s by default, though uses an advanced pooling mechanism to ensure the CPU usage of Minimem remains low at all times. This then optimizes your applications which can load those pages back whenever they need, and makes your overall system perform much better whenever it is memory limited.

Minimem runs in the background and is fully non-intrusive. It stays in your tray where you can access its settings at any time and will remember your favorite settings for an optimal ease-of-use. Its intuitive GUI should make it useable for any type of user so no specific skills are required to take advantage of this great tool.

Typical applications are:

* Reducing the memory footprint of memory-heavy applications that should not e.g. web browsers or office applications
* Making it easier to run applications with memory leaks, e.g. Firefox 2 or extremely large footprints e.g. Firefox 3
* Running multiple applications on the same computer e.g. web desktop tool, web browser, office application all concurrently
* Use computers that are not so recent with modern applications
* And many more...
__________________
Saving a life, one good reason to join the PCHF WCG Team...
Voodoostarz / PCHFRules /Prework
"Found an answer elsewhere; we would appreciate your input to help others who may have a similar problem"
If you need help;just ask!
vger is offline  

Closed Thread

Bookmarks

Tags
information, memory, Sticky:, windows, [Sticky]
Similar discussions...
Thread Thread Starter Forum Replies Last Post
Resolved: Black screen and no windows boot after Memory Hairster Windows XP/2000 9 05-27-2008 03:37 PM
The Maximum memory ammount Windows XP SP2 can support? T-6000 Windows XP/2000 11 06-06-2007 09:22 PM
Memory not being recognised properly either in BIOS or Windows ChrisP Unfinished Threads 5 01-21-2007 12:08 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On




All times are GMT. The time now is 10:31 AM.
Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2