MemInfo Carthago Software forums / MemInfo /  

 Bug on WinXP 64 with 8Gb RAM

 
adaway
Member
#1 | Posted: 12 May 2009 11:22 
MemInfo is a very nice and useful software :-)

On my computer, WinXP 64bit with 8Gb of RAM, when the memory usage go over 2800/3000 Mb MemInfo say I'm using more than 80% of memory.
This, is not correct.

Maybe there is a bug about the way MemInfo get the total memory size, or it can also be a bug about the way the used memory is checked.
If you count the bytes, it may even be that there is some place when you do some 32bit arithmetic instead of 64bit arithmetic. (I'm a software developer :-)

Thanks,
Max

Andre Santos
Carthago
Moderator
#2 | Posted: 12 May 2009 16:52 
Hi adaway,

Thanks for your comments and report.

In fact MemInfo was never tested with more then 4 GB of RAM.

However, and I have to say this, It's not likely a MemInfo bug! MemInfo does not calculate any value, it simply calls the GlobalMemoryStatusEx function. this could be a x64 issue (ie. have to use another function on x64 systems) I will try to see if there is any issue regarding this.

Thanks,

André Santos
Carthago Software Support
http://www.carthagosoft.net

adaway
Member
#3 | Posted: 13 May 2009 13:19 
Thank you for the very fast response :)

I've done some experiment with GlobalMemoryStatusEx and GlobalMemoryStatus function... and I've found nothing.

Today MemInfo work flawlessly, it show the same results of GlobalMemoryStatusEx / GlobalMemoryStatus :-|

I've setup MemInfo to show the Pagefile value, because I don't have any pagefile (I find this value more trustworthy than the "free memory" value :- )

Now, for example, MemInfo tell I have about 3477Mb of used memory (pagefile), and the API return

GlobalMemoryStatusEx:
dwLength = 64
dwMemoryLoad = 51
ullTotalPhys = 8588042240
ullAvailPhys = 4180545536
ullTotalPageFile = 8126488576
ullAvailPageFile = 4421226496
ullTotalVirtual = 8796092891136
ullAvailVirtual = 8795494658048
ullAvailExtendedVirtual = 0

GlobalMemoryStatus:
dwLength = 56
dwMemoryLoad = 51
dwTotalPhys = 8588042240
dwAvailPhys = 4180520960
dwTotalPageFile = 8126488576
dwAvailPageFile = 4421156864
dwTotalVirtual = 8796092891136
dwAvailVirtual = 8795494658048

So both API work correctly, and MemInfo too :)

But every now and then (some day/weeks ago) I've seen a memory usage of about 2800Mb... and MemInfo turn yellow/red telling that I'm over 70% or 80% of total memory.
Maybe it's a quirks of WinXP x64.

The next time it happen I'll try to check what are those API returning.

Thanks for the support, and sorry for the false alarm.

MemInfo Carthago Software forums / MemInfo /
 Bug on WinXP 64 with 8Gb RAM

Your Reply Click this icon to move up to the quoted message


 
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

 

  Powered By minibb