You can only change thread stack size through service the ServiceContainer.run() API method. See the C++ API reference in Symphony DE for more information.