Browsing developer’s help I don’t see any command which could purge/unload certain samples (zones) out of RAM to free it. Is there anything like this? Maybe it’s called somehow specifically
I don’t think this is possible. But I’m not 100% sure.
Unless you remove the zones or layers from the program and load them again when needed.
Usually Halion presets don’t use too much RAM.
Eagle for instance uses about 7 GB on disk and only about 150 MB of memory when loaded.
Something to watch out for though is StartRange for the sample zones. It loads everything to the left of the slider into memory. Doing this on a large amount of samples is not a good choice.
If this is causing problems, you will have to script it so they return to zero when those layers are not selected for playback.
PreloadedBytes can be seen in paramList at zone => SampleOsc or Layer / Program param list.
My instrument is about 40Gb with samples captured by several mics and 900Mb is loaded into RAM. So I want to give user an option to purge samples of a certain mic to save memory. So far I found undocumented layer parameters called PreloadLevel (equals 0 by default) and DesiredPreloadLevel (equals 32 by default). They are controllable, but can’t get how they work. A hint would be appreciated.