windows fails to allocate the amount of free physical memory returned by GlobalMemoryStatusEx
Posted
by avi
on Stack Overflow
See other posts from Stack Overflow
or by avi
Published on 2010-05-22T21:26:05Z
Indexed on
2010/05/22
21:30 UTC
Read the original article
Hit count: 215
c++
|visual-c++
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?
© Stack Overflow or respective owner