Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > How Windows uses physical memory

Reply
Thread Tools Display Modes

How Windows uses physical memory

 
 
Thomas
Guest
Posts: n/a

 
      05-22-2008
I'm trying to settle a debate with someone about how Windows (32bit)
allocates memory. In short, my opponent seems to think that ALL applications
will be swapped in and out of the SAME 2 GB of *physical* memory. I suggested
that this was nonsense and instead the OS will use whatever physical memory
it has available. Thus, in theory, if you have a 4 GB system with no swap
file, you could run three applications that take 1 GB assuming that the OS is
consuming no more than 1 GB. Can I get an engineer at Microsoft to confirm
that this is how it works and if so, can I get a link that outlines that
architecture?
 
Reply With Quote
 
 
 
 
Earle Horton
Guest
Posts: n/a

 
      05-22-2008
Enter "superfetch" in your Live Search tool bar. There are and have been
different strategies for allocating physical memory.

Cheers,

Earle

"Thomas" <> wrote in message
news:E7F70ADE-18CF-427E-B2F1-...
> I'm trying to settle a debate with someone about how Windows (32bit)
> allocates memory. In short, my opponent seems to think that ALL
> applications
> will be swapped in and out of the SAME 2 GB of *physical* memory. I
> suggested
> that this was nonsense and instead the OS will use whatever physical
> memory
> it has available. Thus, in theory, if you have a 4 GB system with no swap
> file, you could run three applications that take 1 GB assuming that the OS
> is
> consuming no more than 1 GB. Can I get an engineer at Microsoft to confirm
> that this is how it works and if so, can I get a link that outlines that
> architecture?


 
Reply With Quote
 
Mark L. Ferguson
Guest
Posts: n/a

 
      05-22-2008
Windows uses all physical memory, all the time. When the 'least used' page
is overwritten, it is either paged to VM or lost( if no VM.) Same with VM,
least used is overwritten, and lost. When apps do a memalloc(), they always
write to physical memory, pushing out least used. Every page of memory, of
every app, addresses a 4 gig space. 2 gigs allocated to the app, 2 gigs to
system. How physical memory is used is not about what an app takes up, it's
what was used last.
--
Was this helpful? Then click the Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales...eAPostAsAnswer
Mark L. Ferguson
..

"Thomas" <> wrote in message
news:E7F70ADE-18CF-427E-B2F1-...
> I'm trying to settle a debate with someone about how Windows (32bit)
> allocates memory. In short, my opponent seems to think that ALL
> applications
> will be swapped in and out of the SAME 2 GB of *physical* memory. I
> suggested
> that this was nonsense and instead the OS will use whatever physical
> memory
> it has available. Thus, in theory, if you have a 4 GB system with no swap
> file, you could run three applications that take 1 GB assuming that the OS
> is
> consuming no more than 1 GB. Can I get an engineer at Microsoft to confirm
> that this is how it works and if so, can I get a link that outlines that
> architecture?


 
Reply With Quote
 
propman
Guest
Posts: n/a

 
      05-22-2008
Thomas wrote:
consuming no more than 1 GB. Can I get an engineer at Microsoft to
confirm
> that this is how it works and if so,


Engineer, eh?


> can I get a link that outlines that
> architecture?


Sure....

http://support.microsoft.com/

http://www.google.ca/advanced_search?hl=en




 
Reply With Quote
 
Darrell Gorter[MSFT]
Guest
Posts: n/a

 
      05-22-2008
Hello,
Use this article as a reference:
http://support.microsoft.com/kb/555223
The applications get assigned virtual address space not physical RAM
Thanks,
Darrell Gorter[MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
| >Thread-Topic: How Windows uses physical memory
| >thread-index: Aci7pO7jbg99WKy3RMuS+ThdHEGUbQ==
| >X-WBNR-Posting-Host: 72.245.177.250
| >From: =?Utf-8?B?VGhvbWFz?= <>
| >Subject: How Windows uses physical memory
| >Date: Wed, 21 May 2008 17:44:03 -0700
| >Lines: 9
| >Message-ID: <E7F70ADE-18CF-427E-B2F1->
| >MIME-Version: 1.0
| >Content-Type: text/plain;
| > charset="Utf-8"
| >Content-Transfer-Encoding: 7bit
| >X-Newsreader: Microsoft CDO for Windows 2000
| >Content-Class: urn:content-classes:message
| >Importance: normal
| >Priority: normal
| >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2992
| >Newsgroups: microsoft.public.windows.vista.general
| >Path: TK2MSFTNGHUB02.phx.gbl
| >Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.windows.vista.general:307130
| >NNTP-Posting-Host: tk2msftsbfm01.phx.gbl 10.40.244.148
| >X-Tomcat-NG: microsoft.public.windows.vista.general
| >
| >I'm trying to settle a debate with someone about how Windows (32bit)
| >allocates memory. In short, my opponent seems to think that ALL
applications
| >will be swapped in and out of the SAME 2 GB of *physical* memory. I
suggested
| >that this was nonsense and instead the OS will use whatever physical
memory
| >it has available. Thus, in theory, if you have a 4 GB system with no
swap
| >file, you could run three applications that take 1 GB assuming that the
OS is
| >consuming no more than 1 GB. Can I get an engineer at Microsoft to
confirm
| >that this is how it works and if so, can I get a link that outlines that
| >architecture?
| >

 
Reply With Quote
 
Thomas
Guest
Posts: n/a

 
      05-22-2008
Thank you. I had already discovered that article. Given a bit of research
through my books, I know that I'm right. The OS can use more than 2 GB of
physical memory for applications. It simply cannot have in use at any one
time more than 4 GB of memory.

BTW, propman wins Troll of the Week award. Good job buddy. Keep anchoring
the bottom of the curve. Someone has to be at the bottom and you seem to want
the position.

""Darrell Gorter[MSFT]"" wrote:

> Hello,
> Use this article as a reference:
> http://support.microsoft.com/kb/555223
> The applications get assigned virtual address space not physical RAM
> Thanks,
> Darrell Gorter[MSFT]
>
> This posting is provided "AS IS" with no warranties, and confers no rights
> --------------------
> | >Thread-Topic: How Windows uses physical memory
> | >thread-index: Aci7pO7jbg99WKy3RMuS+ThdHEGUbQ==
> | >X-WBNR-Posting-Host: 72.245.177.250
> | >From: =?Utf-8?B?VGhvbWFz?= <>
> | >Subject: How Windows uses physical memory
> | >Date: Wed, 21 May 2008 17:44:03 -0700
> | >Lines: 9
> | >Message-ID: <E7F70ADE-18CF-427E-B2F1->
> | >MIME-Version: 1.0
> | >Content-Type: text/plain;
> | > charset="Utf-8"
> | >Content-Transfer-Encoding: 7bit
> | >X-Newsreader: Microsoft CDO for Windows 2000
> | >Content-Class: urn:content-classes:message
> | >Importance: normal
> | >Priority: normal
> | >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2992
> | >Newsgroups: microsoft.public.windows.vista.general
> | >Path: TK2MSFTNGHUB02.phx.gbl
> | >Xref: TK2MSFTNGHUB02.phx.gbl
> microsoft.public.windows.vista.general:307130
> | >NNTP-Posting-Host: tk2msftsbfm01.phx.gbl 10.40.244.148
> | >X-Tomcat-NG: microsoft.public.windows.vista.general
> | >
> | >I'm trying to settle a debate with someone about how Windows (32bit)
> | >allocates memory. In short, my opponent seems to think that ALL
> applications
> | >will be swapped in and out of the SAME 2 GB of *physical* memory. I
> suggested
> | >that this was nonsense and instead the OS will use whatever physical
> memory
> | >it has available. Thus, in theory, if you have a 4 GB system with no
> swap
> | >file, you could run three applications that take 1 GB assuming that the
> OS is
> | >consuming no more than 1 GB. Can I get an engineer at Microsoft to
> confirm
> | >that this is how it works and if so, can I get a link that outlines that
> | >architecture?
> | >
>
>

 
Reply With Quote
 
dennis
Guest
Posts: n/a

 
      05-22-2008
Thomas wrote:
> It simply cannot have in use at any one
> time more than 4 GB of memory.


It actually can do that also. If you get a Windows that supports more
than 32 bit in PAE mode, a bunch of applications can take up way more
than 4GB of physical ram in total
 
Reply With Quote
 
propman
Guest
Posts: n/a

 
      05-22-2008
Thomas wrote:
> Thank you. I had already discovered that article. Given a bit of research
> through my books, I know that I'm right. The OS can use more than 2 GB of
> physical memory for applications. It simply cannot have in use at any one
> time more than 4 GB of memory.
>
> BTW, propman wins Troll of the Week award. Good job buddy. Keep anchoring
> the bottom of the curve. Someone has to be at the bottom and you seem to want
> the position.
>


Now go look up the meaning of troll pertaining to it's relevance in
newsgroups.....'cause obviously you have no clue.

The of sending those url's along was to point out the subject was
something you could have easily found out by doing your homework
yourself before posting an inquiry here.....which you did and by your
own words, found the information before you saw the any replies.
Therefore you have just admitted to wasting the valuable time and
efforts of anyone who tried to help you.....buddy boy.

Don't bother replying.......

<plonk>
 
Reply With Quote
 
Tim Slattery
Guest
Posts: n/a

 
      05-22-2008
Thomas <> wrote:

>Thank you. I had already discovered that article. Given a bit of research
>through my books, I know that I'm right. The OS can use more than 2 GB of
>physical memory for applications. It simply cannot have in use at any one
>time more than 4 GB of memory.


A 32-bit system only has 4GB of address space, so it can't possibly
use more than 4GB of physical RAM. Because that address space also has
to be used for video RAM, BIOS, and a few other things, it can't
access a full 4GB of physical RAM. See
http://members.cox.net/slatteryt/RAM.html

The 2GB thing is that each virtual memory space is divided evenly
between the OS and the application, each gets 2GB of virtual memory.
Some pages of that VM will be on disk and various places in physical
RAM at any time, the OS has to keep track of where each piece is.

All addressable RAM is used to keep pages of the various VM spaces.

--
Tim Slattery
MS MVP(Shell/User)

http://members.cox.net/slatteryt
 
Reply With Quote
 
Tim Slattery
Guest
Posts: n/a

 
      05-22-2008
dennis <> wrote:

>Thomas wrote:
>> It simply cannot have in use at any one
>> time more than 4 GB of memory.

>
>It actually can do that also. If you get a Windows that supports more
>than 32 bit in PAE mode, a bunch of applications can take up way more
>than 4GB of physical ram in total


Only Windows Server systems use PAE. No version of XP or Vista
supports it.

--
Tim Slattery
MS MVP(Shell/User)

http://members.cox.net/slatteryt
 
Reply With Quote
 
 
 
Reply

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Physical Memory kjrogers Windows Vista Hardware 9 05-15-2008 06:28 AM
Difference between Physical Memory and the Vista System Memory (Ra DP Windows Vista Hardware 2 02-20-2008 05:29 PM
Physical Memory problems? PitbullMean Windows Vista General Discussion 9 01-28-2008 08:08 PM
low free physical memory marius.r Windows Vista Hardware 4 07-07-2007 06:06 AM
Reduce Physical Memory Use summaawilum Windows Vista Performance 3 11-16-2006 05:20 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59