although i'd consider this more to be a question for a dedicated OS X forum i'll try to explain as simple as possible (and why the ViennaInstruments might not always display an accurate number for *free* memory)
- ahead you need to count 1 GB as 1024 MB, this will clear up some apparent rounding discepancy.
- apple is calling *virtual memory* the sum of physical RAM plus the size of the pagefile (= memory *paged out* to a file on your harddisk), the word *page* originates from the term *memory-page* which handles data in blocks like pages in a book.
- of course a (streaming) sample player can only use physical RAM, data located in the pagefile would need to be transferred to the physical RAM first which is slow and therefore useless for streaming.
- apple is counting the used RAM as wired + active + inactive, where wired memory are *pages* which can in no case be moved to the pagefile (the example above shows this is more or less the sample headers stored by the VSL server)
- active memory are pages which are currently in use (and therefore also in no case can be moved to the pagefile) by the system itself, your running applications, ect.
- inactive memory are pages which have been formerly used (loaded) as wired or active but are currently no longer in use (unloaded samples, closed applications, ect) but OSX assume theymight be needed again in the near future and are therefore kept in (physical) RAM. this pages can be moved to the pagefile (if a running process requests additional RAM) or simply unloaded.
- additionally there is memory used by kernel-tasks listed nowhere, even the related processes might not be listed (this is not too much so we ignore it here).
hopefully this explains why it is sometimes hard for the VI to estimate how much memory now is really available, since the only thing it can do is request memory from the operating system *mentioning* it has to be physical RAM. only the OS itself can allocate memory and in an ideal situation the inactive memory is 0 (zero) and you have filled up everything with samples. clearly the OS cannot hand out all remaining *pages* to the VI, because otherwise a simple task from the system or a vital application calling and depending on physical RAM might have no memory left and the system could freeze or crash.
hth, christian (typos edited)