Backport the stack-size reduction patch in (3673) to version 3.3.13. (CVS 3979)