Houston,
Somethig like two weeks ago, I did a class using GlobalMemoryStatus, but, looking at the results, I was afraid I did some mistake. Then I tried your function, and it returns the same values as mine.
In concrete there is an 8Kb difference with the total physical memory (in my machine). Both functions return 66.592.768, instead of 66.584.576 (reported by mem). My question is then, which one is the real value (not that it is important, just wondering why there is a difference)
Hugo
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges