Buffer allocation limit

Is there a limit to the number of buffers I can allocate at once in SC?

Yes there is. The default is 1024, but it can be changed via ServerOptions. For example:

s.options.numBuffers_(4096)

As with all changes to ServerOptions, this will take effect the next time the Server is booted, so if it’s currently running you’ll need to reboot to see changes.

By the way, this is documented at http://doc.sccode.org/Classes/ServerOptions.html#-numBuffers

1 Like

You can change the limit:

Server.local.options.numBuffers_(4096);

4096 is probably a lot. I don’t remember what the default is.

If you put this line in the startup file (in the File menu), then it will make this setting when SC opens up.

Sam

1 Like