How can I set and keep the Arduino Stack size at increased size?

Already discussed at ESP32 Stack configuration (reloaded)