windows fails to allocate the amount of free physical memory returned by GlobalMemoryStatusEx
- by avi
hello!
what i'm trying to do is get the free amount of physical memory allocate it and than manage it ( resizing it or delete it ) depending on what further calls to GlobalMemoryStatusEx return.
and the problem : it works on 2 PCs with win 7 x64 one with 2G Ram ( on witch i was able to allocate like 1.3 GB) , the other has one 1GB RAM (max alloc was 630 MB).
it fails on the third one with 3GB of ramm.
I can't find the problem.
!! i tried google!!
any solution?