api function for requesting the amount of free memory needed
Chris January
kde-cygwin@mail.kde.org
Fri, 7 Feb 2003 09:41:00 -0000
> Hi all,
>
> currently I'm writing a little helper tool (fillmem), which
> clears the windows
> file cache to emulate a reboot. This helps in inspecting the loading time
> problems.
>
> One open issue with this tool is to get the available free
> virtual memory. It
> would be nice if someone could give me a hint, which function
> could be used.
>
> See
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/kde-cygwin/tools/fi
llmem/ for
further informations.
See BOOL GlobalMemoryStatusEx(
LPMEMORYSTATUSEX lpBuffer
);
Chris