> How do you get the amount of memory and swap on it (it again being the machine > running Windows (well, VMware). Using the Windows GlobalMemoryStatus system call. See setMemInfo in gc.c.