fiberStackSize

The stack size when a fiber is created. You can set this from your main or from a shared static constructor to optimize your memory use if you know you don't need this much space. Be careful though, some functions use more stack space than you realize and a recursive function (including ones like in dom.d) can easily grow fast!

version(cgi_use_fiber)
__gshared
size_t fiberStackSize;

Meta

History

Added July 10, 2021. Previously, it used the druntime default of 16 KB.