How does Windows 2008 calculate the ramsize 4GB


hi,
 i'm developing against windows 2008 , because application memory-consuming added memory check installer if memory size lower 4 gb.
in test saw following problem.
the windows system properties in control panel -> system , maintanance -> system shows memory size of 4.00 gb
the systeminfo command , detection via globalmemorystatusex function in self written dll show 3966 mb.
to avoid problems on installation of application need know, range or smalles real memory value windows 2008 reports 4.00 gb in windows system properties.
does know how calculation done?

hi,

 

from globalmemorystatusex function, can find:

 

"the information returned globalmemorystatusex function volatile. there no guarantee 2 sequential calls function return same information".

 

also, issue related development, suggest initial new post in msdn form further support there. best resource development related problems.

 

for convenience, have list link followed.

 

msdn forum

http://forums.microsoft.com/msdn/default.aspx?siteid=1

 

thanks.


this posting provided "as is" no warranties, , confers no rights.


Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

Indexing Server

Schannel Issue

oclist /xml or /?