s.boot;
(
a = {
var buf = LocalBuf(8192 * 4096, 1);
PlayBuf.ar(1, buf)
}.play;
)
// posts:
JackDriver: exception in real time: alloc failed, increase server's memory allocation (e.g. via ServerOptions)
warning: MaxLocalBufs - maximum number of local buffers is already declared (1) and must remain unchanged.
warning: LocalBuf tried to allocate too many local buffers.
Buffer UGen: no buffer data
a.free;
s.options.memSize = 1048576;
s.reboot; // this is important!
(
a = {
var buf = LocalBuf(8192 * 4096, 1);
PlayBuf.ar(1, buf)
}.play;
)
// no error posting -- no problem
a.free;
It shouldn’t be necessary to restart the IDE.
It’s more likely that you maybe thought you rebooted the server but didn’t. Or, maybe: 1/ Set memSize. 2. Didn’t help. 3. Recompile class library. 4. Boot server (but settings reverted to defaults). 5. Still got allocation error.
hjh