views:

40

answers:

1

Hi,

I have an issue with the stack limit in my webservice. I was suggested to read this article by fellow members of this forum, but I do not have an idea how to run the EDITBIN.

I am using VS2008 on Windows 7 (IIS7) Thanks!

+2  A: 

If you're running out of stack, it's usually a good idea to analyse exactly why you're running out and change your design appropriately. Increasing the stack size (whether programmatically or by editing the binary) will usually just mean you can handle a larger data set to recurse through, or something similar.

I would strongly recommend that you work out exactly what's going on in your stack before increasing the size. You may end up making a recursive approach iterative - or you may just find you have a bug at the moment.

Jon Skeet
thanks Jon, i have already done that but since the iteration is done to process several images of size 64*64, I cannot do better (at least for the time being)
mouthpiec
@mouthpiec: Processing images should take *heap* space rather than *stack* space. Have you really worked out why there's so much stack being used?
Jon Skeet