Article ID: 935268 - Last Review: March 12, 2009 - Revision: 5.2 Components of the user interface in Windows Vista and in Windows Server 2008 report slightly different values for the total physical memory that is available on the computerINTRODUCTIONThe total physical memory on a computer is displayed in
several components of the user interface (UI) in Windows Vista and in Windows Server 2008. Each component
reports a slightly different value. This article discusses why different
components report slightly different values. Additionally, this article
identifies the component that shows the most accurate value. It also contains
information about the application programming interface (API) that retrieves
the most accurate value. Important Windows Vista Service Pack 1 (SP1) made changes to the way components of the user interface report memory. For more information about how memory is reported in Windows Vista Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base: 946003
(http://support.microsoft.com/kb/946003/
)
Windows Vista Service Pack 1 will report 4 GB of system memory (RAM) on systems that have 4 GB of memory installed
MORE INFORMATIONThe components of the UI that report the
total physical memory on the computer include the following:
For example, you may experience the following scenario when you view the following components on a Windows Vista-based computer:
The System Information tool reports physical memory in several different ways:
How to use the API to obtain the total physical memory valueTo retrieve the most accurate value that is under program control, developers should follow these steps:
The GlobalMemoryStatusEx function was not available at the time that some components were built. However, all components calculate the physical memory on the computer in the same manner. The only difference among the components is the rounding that occurs before the total physical memory is displayed in the UI. REFERENCESFor more information about the GlobalMemoryStatusEx function, visit the following Microsoft Web site: http://msdn2.microsoft.com/en-us/library/aa366589.aspx
(http://msdn2.microsoft.com/en-us/library/aa366589.aspx)
For more information about the MEMORYSTATUSEX structure, visit the following Microsoft Web site:http://msdn2.microsoft.com/en-us/library/aa366770.aspx
(http://msdn2.microsoft.com/en-us/library/aa366770.aspx)
For more information about memory size
reporting on Windows Vista-based computers that have 4 GB of RAM installed,
click the following article number to view the article in the Microsoft
Knowledge Base: 929605
(http://support.microsoft.com/kb/929605/
)
The system memory that is reported in the System Information dialog box in Windows Vista is less than you expect if 4 GB of RAM is installed
APPLIES TO
| Article Translations
|
Back to the top
