[python-win32] Problem with "stacksize" for Python Com servers

Niki Spahiev niki at vintech.bg
Tue Feb 3 04:57:47 EST 2004


bjorn.x.hellstrom at se.abb.com wrote:
> 
> Hello,
> I have used Python now for a couple of month with greate success for 
> "Python(command line)" and for Pythonwin.
> My application (my.dll) needs more than 1 MB in stacksize, so I had to 
> recompile and reload pythoncore(python23.dll), python(python.exe) and 
> pythonw(pythonw.exe).
> I have set "Stack Reserve Size" equal to 100 MB, same for "Stack Commit 
> Size".
> 
> I'm using Python version 2.3.2, win32all-163, Microsoft .NET, Excel 2002 
> on a PC with Windows XP servicepack 1.
> 
> When using Python COM servers, I can run my application in Excel, but 
> only for "small" problems (stacksize < 1MB)
> When I have my normal application, Excel crash, as python and pythonwin 
> did before I increased the stacksize.
> 
> *How to increase stacksize for COM applications?*
> 

Try out of precess (EXE) COM server.

Niki Spahiev



More information about the Python-win32 mailing list