Computer Hope
Other => Reviews and recommendations => Topic started by: Broni on December 19, 2008, 04:48:01 PM
-
HERE (http://windowssecrets.com/links/$P20d/c8a916h/?url=WindowsSecrets.com%2F2008%2F12%2F18%2Fts%2F%3Fn%3Dstory1)
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
Now, my comment...
I have DEP disabled (my choice), so I decided to use BCDEdit /set PAE ForceEnable command to enable PAE.
I restarted computer, and opened same 5 applications, I had opened before applying the above command:
Firefox, Thunderbird, Windows Explorer, Wordpad, and uTorrent.
These are Task Manager readings, regarding RAM ("Performance" tab):
BEFORE - total-2045; cached-1193; free-37; memory usage-55%
AFTER - total-2045; cached- 1540; free-5; memory usage-39%
As you can see, "cached" part of RAM (which is the most important part; it's your "working" RAM), increased by almost 350MB, knocking "memory usage" down by 16%.
I hope, my conclusion is correct, and I still have to use the computer for a while to see the real effect.
I'm also very curious about the results from someone, who has 3, or 4GB of RAM installed on 32-bit system.
I have 2GB.
-
Very nice review on this...
So because you're attempts at sabotaging my Vista install have fallen by the wayside you tempt me to do this on my benchtest machine with XP just to see the inevitable results .....
You have tweaked my interest...Onward i say ! !
;)
-
I won't rest until I screw one of your machines....that's my motto.....LOOOOOOOOOOOOOOOL
-
Joking aside, I'm basically waiting for my Firefox to reach 300-400MB of RAM usage.
Normally, at that point, FF becomes very slow, and I have to restart it.
Right now, FF is at 228MB.
-
Broni. Seen this?
http://www.computerhope.com/forum/index.php/topic,33321.0.html
Ever since that Config edit, all Firefox needs is a good minimize.
-
PAE is enabled by default on most systems anyway, to enable DEP.
I know on regular XP, using PAE does not enable more than 4GB of memory, no matter what. Server 2003, however, could see all my 4GB of memory when I enabled this.
There's an interesting article on this somewhere, which points out that PAE is not the magic solution to break the 32 bit barrier, but I can't remember where it was.
-
Carbon
Minimizing FF doesn't work for me at all. Memory usage goes down just by a few MB.
I know on regular XP, using PAE does not enable more than 4GB of memory, no matter what. Server 2003, however, could see all my 4GB of memory when I enabled this.
I understand, that there is no way to break 4GB barrier, but I'm just curious about being able to use more RAM inside 4GB. Like you said, you can see change with Server 2003.
PAE may be enabled by default, but I disabled DEP by choice, and when I checked on PAE, it was disabled as well.
-
Oh, I get you now.
What I mean is, on XP with my system, system properties reports 3.2GB of RAM. With Server 2003, it reports 4GB. That breaks the 4GB barrier by using 36-bit access - it sees 4Gb of RAM, plus 512Mb video RAM, plus the other memory allocated to devices.
-
That's interesting. Why do you think, it happens with Server 2003, but not XP?
-
http://www.computerhope.com/forum/index.php/topic,72489.msg473066.html#msg473066
killberb explains it there.
Apparently some drivers can have trouble with over 4GB of RAM available, so "home" 32 bit OSes cannot access more than 4Gb of RAM, period, because it's disabled.
Server OSes can use the extra 4 bits provided by PAE to access more memory.
-
I see...thanks.
-
does this work for all 32Bit versions of Windows(like NT and 2000) or is it just for XP and Vista?
-
I don't think PAE support was available until XP was released.
-
According to M$, it's supported since 2000/NT: http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx, however the processor has to be Intel Pentium Pro and later.
-
Alright- thanks Broni.... NT4 supported PAE?
-
According to this: HERE (http://books.google.com/books?id=kYT7gKnwUQ8C&pg=PA9&lpg=PA9&dq=nt4+pae&source=web&ots=K6CYG-HPUw&sig=blt4k1q0oiCWKZribgRADzE6bx4&hl=en&sa=X&oi=book_result&resnum=2&ct=result), yes.
-
Thanks Broni, but crap i cant upgrade my memory past 512MB, from what Crucial says of my system(here (http://www.crucial.com/store/listparts.aspx?model=OptiPlex%20GX150%20Series)).
but oh well... my rig probably wont need more than 512MB RAM anyways, Win 2K RAM requirement(64MB) - 384MB = 320MB plenty of space
-
Win2K runs nicely on 512...sweeter on 768 but you should have no issues.
-
*Adding another 128MB*
;D
thanks for the tip Patio
-
Win2K IMHO is the stablest OS Microsoft ever released...
I need to re-boot that machine about every 3 weeks ...other than that it runs 24/7.
-
thats good, you probably added another fan or even watercooling if it runs everyday.
-
If you need more memory and require a 32 bit os, just switch to ms server 2003 enterprise edition. It supports up to 64gb on x86. :P
http://technet.microsoft.com/en-us/windowsserver/bb430827.aspx
Otherwise, just use 64bit.
-
i dont think you would need 64GB of ram for personal use, so you could just probably get XP, and do the mod that Patio posted for upgrading the max amount of memory.
-
I'm just saying ya could....... :-\
-
If you need more memory and require a 32 bit os, just switch to ms server 2003 enterprise edition. It supports up to 64gb on x86. :P
http://technet.microsoft.com/en-us/windowsserver/bb430827.aspx
Otherwise, just use 64bit.
we're forgetting something though.
how do programs access memory? Pointers. what size are pointers? 32 bits.
A program would need to be specially constructed to use more then 4GB of memory if it is written for a 32-bit OS. (special API constructs aside)
-
What programs ever need 4gb of memory for itself? The only programs I've seen that use anywhere near 4gb of memory are sql servers and sql server 2005 can handle as much memory as the os can throw at it..... If any other program is using that much memory, it was probably written specifically to crash the os. :P
-
Some pointers are absolute, and don't point to memory locations in the process address space. Mostly drivers, which could easily be constructed to prevent problems.
-
but micheal, that is a good tip though
-
that's true, I know if I ever need to reformat my machine, I'm going to put 2003 on it.
-
Server 2003 is a great OS, my second favourite after XP X64.
Expensive, though.
-
Server 2003 is a great OS, my second favourite after XP X64.
Expensive, though.
I was smart though, I got it will I was at school and was able to get it through that academic discount they had- I recall at the time XP pro was 12 dollars after the discount...
-
but lets just say that if you get Windows ME, then your instantly screwed. its probably the least stable OS ever..
but yea 2003 is great and very powerful OS but its probably for more advanced users, since it was designed as a Server OS, and not a personal OS. Windows 2K, XP Pro and XP 64 are my favs.
-
Win2K rules...
-
Win2K rules...
such a great OS. an even better when you get to the Admin Tools ;D
but it stinks that it doesnt include Windows Movie Maker, but of course its a buisness oriented OS. as seen here (http://en.wikipedia.org/wiki/Windows_2000_Professional)
-
WMM will run on Win2K...
-
it wont i've tried the XP version and it said "Can only be installed on Windows XP"
and the ME version isnt available for download unless you own Windows ME.
-
Just did some digging...
Try AutoPatcher 2000: http://www.softpedia.com/get/System/OS-Enhancements/AutoPatcher.shtml
It includes Windows Movie Maker 1.2
-
When you upgrade to 2003, make sure you get the enterprise edition, not the standard edition..... :P
Costs twice as much as standard (around $1800), but allows you more memory. :)
-
woa so scence i have 2gb ram and a 1gb gpu im only getting 1gb or ram and 1gb vram!? this is an outrage!
so for xp to turn it on it should look like this right /NoExecute=OptIn /pae
-
computeruler - you're getting 2GB of RAM and 1GB of VRAM.
The cap is 4GB, so you won't see more than just under 3GB of RAM.
Did you read anything of the discussion above, by the way?
PAE doesn't work like that in XP.
-
Did you read anything of the discussion above, by the way?
He's been busy, working on his spelling....;D
-
ok then ya ive been busy with my spelling
-
And sorting out his alter ego status...
-
thanks Broni for the link, i downloaded and installed AP.
;D
-
and suprisingly its much-much faster on startup and added a whole lota apps to my rig! ;D
Thanks!
-
If so, I'm gonna do it on my 2000, as well....
-
well it may vary. but i dont know maybe u'll have better luck. since i did have some missing updates when i installed AP.
-
If so, I'm gonna do it on my 2000, as well....
ahh, CH users are your guinea pigs.
I approve.
-
Shhhhhh....
-
Shhhhhh....
I mean, you LET them test bleeding edge software. It's not so you don't get cut, but rather because you care so much about their software well-being that you want them to use the latest and greatest. Even if it is a double-edged sword. I mean, even if the butter is on the other side of the knife...
-
I'm not THAT bad. I test stuff too :)
-
oh well(look at pic)
the next recommendation for your proccessor, it could just turn into(look at 2nd pic)
and of course its all joke :D
[attachment deleted by admin]
-
I just installed AP. All well :)
-
Shhhhhh....
I mean, you LET them test bleeding edge software. It's not so you don't get cut, but rather because you care so much about their software well-being that you want them to use the latest and greatest. Even if it is a double-edged sword. I mean, even if the butter is on the other side of the knife...
if that did happen, then my guinea pig WOULD come after you :D
-
Shhhhhh....
I mean, you LET them test bleeding edge software. It's not so you don't get cut, but rather because you care so much about their software well-being that you want them to use the latest and greatest. Even if it is a double-edged sword. I mean, even if the butter is on the other side of the knife...
if that did happen, then my guinea pig WOULD come after you :D
Why? does your guinea pig like butter?
-
i dont own a guinea pig....but....
nvm
-
Then who's that furry critter in the photo ? ?
Are you not telling us everything ? ?
-
ahh, I see, you don't "own" the guinea pig, your his friend, with benefits.
This may explain his familiarity with butter.
-
mmm....Butter Toast ;D