finding available RAM

Stephen Weeks MLton@sourcelight.com
Sun, 10 Mar 2002 12:35:42 -0800


Are there any ways other than sysinfo and sysconf of finding out the
amount of RAM?  Unfortunately, on Cygwin, sysinfo doesn't exist and
sysconf(_SC_PHYS_PAGES) returns -1.