How to add "+sssdcpu 128" in vm.args to Livebook


I’m trying to add some configuration parameters to the vm of Livebook.
“+sssdcpu 128”
I’m using the package of Livebook for macos. Is very practical to open Livebook by double-clicking a livemd file. I don’t run livebook from a container or by compiling the source code.

I’m trying to use a library for decision trees called EXGBoost and got a tip to increase the “Suggested stack size for dirty CPU” to 128. This configuration should be added to a vm_args.eex and supplied as a parameter to livebook:

The problem is that I don’t know where to put this parameter in my installation of Livebook.
I found a file “/Applications/” called vm.args and added this parameter, but the change doesn’t seem to take effect.

I wonder which is the correct way to append this configuration to Livebook.

Thanks for your help in advance!

Best regards,

/Hiram Galicia

This is the way: GitHub - livebook-dev/livebook: Automate code & data workflows with interactive Elixir notebooks

@hiramegl try adding export ELIXIR_ERL_OPTIONS="+sssdcpu 128" in ~/ : )

@hugobarauna @jonatanklosko
Thanks a lot! it worked now, had to put 512 instead but it finally worked.

Think I’ll have to take a closer look to the Livebook doc and env vars.
Thank you again,

Best regards,

/Hiram Galicia

1 Like