NWGetAvailableMemory
Returns the number of bytes of memory available on the server
#include <nwmalloc.h> LONG NWGetAvailableMemory ( void);
NWGetAvailableMemory returns the amount of memory (in bytes) available on the server.
The amount of memory returned by NWGetAvailableMemory is the number of current cache buffers mutliplied by the size of a cache buffer. The amount available will usually not be allocatable as one large chunk as it will usually not be contiguous.