Board index » delphi » How to get RAM size and free RAM?

How to get RAM size and free RAM?

Thanks
        Patrick
 

Re:How to get RAM size and free RAM?


Patrick,
  Take a look at the GlobalMemoryStatus API.

--
Good Luck!!
    -Dave
Inprise Certified Delphi 4 Client/Server developer
http://www.erols.com/dparsons

Quote
patrick bergner <patrick.berg...@t-online.de> wrote in message

news:37522BA2.C96D095A@t-online.de...
Quote
> Thanks
> Patrick

Re:How to get RAM size and free RAM?


Quote
patrick bergner wrote:

> Thanks
>         Patrick

Various global memory-size APIs are provided in Win32.  But remember
that the only view you see in Win32 is your virtual-memory; you do not
see the current status of the real-memory page tables and so forth.

And it would be entirely misleading if you did!  Windows uses the
standard NRU mechanism for managing virtual memory and it will keep
real-memory absolutely full all of the time.

Other Threads