Could it be that the stack size of a Web Service is smaller than that of a Window Application?
        Posted  
        
            by mouthpiec
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by mouthpiec
        
        
        
        Published on 2010-06-13T09:25:27Z
        Indexed on 
            2010/06/13
            9:32 UTC
        
        
        Read the original article
        Hit count: 550
        
Hi,
I have a program that includes a recursive function. This function when executed in a Windows Application works just fine, and when used in a Webservice, it works fine when the webservice is initiated by the VS (it assigns a random port), but this function return a stackoverflow error when the webservice is published. (note that the machine used is the same, hence it is published on my pc).
Could it be that the stack size of a Web Service is smaller than that of a Window Application?
© Stack Overflow or respective owner