JBTM-2038. Increase stack size to 1M