The NativePoolStackSize determines the stack size in bytes of each thread in the native (kernel) thread pool.
You can modify the NativePoolStackSize by editing the NativePoolStackSize directive in magnus.conf.