hi,
unfortunately it is true that OS X uses to "page out" data which doesn´t seem to be relevant at this very moment for the OS. And because you cannot switch off or limit the so called "Swap File" in OS X it can happen that some of our samples get swapped into the virtual memory (= located on the internal HD) on first load.
After you have played with the samples a little it gets obvious for the OS that the regarding data is needed for playing back the samples in the required timeframe (meaning in realtime) and that it is important data.
Therefore the samples get a higher priority and will be kept in" Real Memory", which means they do not get swapped to "Virtual Memory" anymore.
This is exactly what happens when you notice that the more you play with the samples the less clicks you get.
This also happens to samples loaded in an Instance of an EXS player very frequently.
I just did a Workshop in Berlin a couple of weeks ago and played back a Piano track from an EXS instance on a MacBook Pro (from the internal Drive) and on first playback I think every sample header was swapped to virtual memory.
I didn´t only get clicks but after playing with crackles and clicks for some bars the machine stopped with an error message saying "Samplerate 44073 detected. Error while syncronizing Audio and Midi"
Obviously the HD drive was too slow to stream all sample headers with the right samplerate.
Apple knows about this behaviour and that this is a problem for RAM-intense realtime applications. As far as we know the problem is being investigated by Apple but we don´t know at the moment what can/will be done about it.
I got the information from an Apple engineer that the more RAM you have installed the better, because when physical RAM is still free, the Swap File Technology starts to use this free ram for its page file. So the samples are just moved from the Real memory of the thread "VSL-Server" to another area in the physical RAM.
Therefore having more RAM installed will reduce the clicks significantly since for the samples it doesn´t matter at which spot of the physical RAM they are stored.
best
chrisK
unfortunately it is true that OS X uses to "page out" data which doesn´t seem to be relevant at this very moment for the OS. And because you cannot switch off or limit the so called "Swap File" in OS X it can happen that some of our samples get swapped into the virtual memory (= located on the internal HD) on first load.
After you have played with the samples a little it gets obvious for the OS that the regarding data is needed for playing back the samples in the required timeframe (meaning in realtime) and that it is important data.
Therefore the samples get a higher priority and will be kept in" Real Memory", which means they do not get swapped to "Virtual Memory" anymore.
This is exactly what happens when you notice that the more you play with the samples the less clicks you get.
This also happens to samples loaded in an Instance of an EXS player very frequently.
I just did a Workshop in Berlin a couple of weeks ago and played back a Piano track from an EXS instance on a MacBook Pro (from the internal Drive) and on first playback I think every sample header was swapped to virtual memory.
I didn´t only get clicks but after playing with crackles and clicks for some bars the machine stopped with an error message saying "Samplerate 44073 detected. Error while syncronizing Audio and Midi"
Obviously the HD drive was too slow to stream all sample headers with the right samplerate.
Apple knows about this behaviour and that this is a problem for RAM-intense realtime applications. As far as we know the problem is being investigated by Apple but we don´t know at the moment what can/will be done about it.
I got the information from an Apple engineer that the more RAM you have installed the better, because when physical RAM is still free, the Swap File Technology starts to use this free ram for its page file. So the samples are just moved from the Real memory of the thread "VSL-Server" to another area in the physical RAM.
Therefore having more RAM installed will reduce the clicks significantly since for the samples it doesn´t matter at which spot of the physical RAM they are stored.
best
chrisK