title: How do I increase the stack size in python
body: <p>I have a python program that uses a custom-built DLL. This DLL crashes due to a stack overflow. This overflow is not due to a recursive function gone bad, but to large allocations on the stack using alloca().</p>
  
  <p>I want to increase stack size to get rid of this error. Is there any way to do this?</p>