Windows XP Pro and RAM

Admiral Michael

OSNN Veteran Addict
Joined
Feb 19, 2003
Messages
3,123
Ok, heres my question.

I have a Compaq Presario 2100 Laptop (see sig). Anyways, I was testing my ram with memtest86, each module separately. Well I forgot to put in the floppy one time, so it went to windows. While I was there I just happened to check the task manager, it shows about 98MB memory used. Well I put back the other 256MB module, boted to Xp and noticed that now I have 228Mb used. I havent changed a thing, cept the ram. It seems to me that the more memory your system has, the more XP hogs for itself.

Also, I have disabled any non-required service way before all of this, so the only thing on my laptop that changed was the total ram.

Any Ideas why this is would be nice.

PS. I took a screenshot of the task manager when I have 256MB and 512MB installed.
 

LeeJend

OSNN Veteran Addict
Joined
Jan 25, 2003
Messages
5,291
I'll agree with you but we're gonna get jumped on about "it's not wasting it" it uses all it can get for your own good.
 

Keshik

OSNN Addict
Joined
Mar 16, 2004
Messages
110
I've noticed that for myself that whether I was running 256 or 512 mb of ram, WinXP Pro tended to use about half of it idling either way. Likes its memory...
 

toretto

Mentally Absent
Joined
Feb 8, 2004
Messages
226
i personally have a gig of ram, windows xp was designed and optimized to run best with 2 gigs of ram. the more ram you use, the more cache size programs have and the larger the buffers are for various programs and many the kernel.
 

muzikool

Act your wage.
Political User
Joined
Dec 27, 2001
Messages
7,626
Someone correct me if I'm wrong, but I'm pretty certain that the more RAM you have installed, the more Windows allocates to the paging file. If that's the case, then there's your answer. :)
 

muzikool

Act your wage.
Political User
Joined
Dec 27, 2001
Messages
7,626
Yes, it is on the hard disk, but for some reason I had it in my head that it had an effect on RAM usage as well. You probably shouldn't listen to me though, I'm a bit tired at the moment. :p
 

dreamliner77

The Analog Kid
Joined
Mar 16, 2002
Messages
4,709
AFAIK, XP will use the ram available to save writing to the hard disk frequently. This is a good thing. The more you have, the more it will use.
 

muzikool

Act your wage.
Political User
Joined
Dec 27, 2001
Messages
7,626
dreamliner77 said:
AFAIK, XP will use the ram available to save writing to the hard disk frequently. This is a good thing. The more you have, the more it will use.
I suppose that's what I was trying to say... I just ended up confusing myself. :eek:
 

Perris Calderon

Administrator
Staff member
Political User
Joined
Jan 24, 2002
Messages
12,359
pretty simple to understand;

most programs are written with the 90/10 rule - they spend 90% of the time bringing 10% of their code or data into use by any given user, if these programs were allowed all of their code, nothing else would run.

in additionsm well written application will want to reserve a large block of its address space for a particular purpose (keeping data in a contiguous block makes the data easy to manage) but then it might not want to use all of the space. yet (another reason for never lowering your pagefile)

for this reason, programs are allowed working sets when they're initiated...just about every program requests more memory then referanced by the user

when you don't have all of the memory available for all of the requests, (and you never have all the memory for all the requests) xp assigns working sets that accomodate your needs, and the working sets are adjusted according to resources.

the more ram you have, the larger the working set allowed...hardly used features of a program will be snappier, thhe os, everything

if you installed more memory and the os didn't make use of it, then it would sit around and do norhing....I'm wondering why anyone wants their memory sitting around doing nothing, but whatever the reasons, the os and your computing would be slower if you had it that way.

in addition, all memory in use will have a spot on the hardisc reserved for it, since data mut be paged in in the first place; memory allocation in NT is a two-step process--virtual memory addresses are reserved first, and committed second, this is usually represented by the pagefile useage grapgh in taskmanager, which doesn't represent what's in the pagefile, but more the amount of memory in use

like adding more horsepower to your car...your car will run your airconditioner, power steering, alternator all more efficiently when you add more horsepower
 

muzikool

Act your wage.
Political User
Joined
Dec 27, 2001
Messages
7,626
Yeah, thanks for that perris. ;) Very nice explanation.
 

Members online

No members online now.

Latest profile posts

Electronic Punk wrote on Sazar's profile.
Where are you buddy? :(
Perris Calderon wrote on Electronic Punk's profile.
Hey ep!

All good with me, applying for microsoft mvp right now, should have done this a while ago.

Notifications don't work, I only found your response by comming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier, mine is perriscalderon at gmail
Perris Calderon wrote on Electronic Punk's profile.
Ep, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there https://tinyurl.com/ycpxl
Electronic Punk wrote on Perris Calderon's profile.
All good still mate?

Forum statistics

Threads
61,978
Messages
673,285
Members
89,064
Latest member
Plesuvius