The help file for system.stat() says “the number of bytes
of memory that Windows reports as being free”. I suspect that Windows is
not reporting everything that it has available.
If you look under the Task Manager (press CTRL-ALT-DELETE,
then select Task Manager) and look under Physical Memory you can see what
Windows is really doing.
I have 2 GB of RAM and system.stat reports ~1 GB free, but the
task manager reports 1.5 GB free. Typically when running S+ and a few other
applications it chews up about 500 MB. Not sure what it DOES with those 500 MB…
If you look under the Processes tab in the Task Manager you
can see how much memory individual applications are using. Outlooks uses about
100 MB, S+ about 50 MB on my machine. Closing down some applications that are
chewing up memory might help your performance on large S+ tasks.
Michael