Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Stack Overflow Errors When You Upgrade to Windows Scripting Host version 5.6 on Internet Explorer version 5.x


View products that this article applies to.

This article was previously published under Q325453

↑ Back to the top


Symptoms

When you upgrade from Windows Scripting Host version 5.1 to Windows Scripting Host version 5.6, especially if you are using Internet Explorer versions 5.x, you may receive "stack overflow" error messages in scripts that use recursion.

↑ Back to the top


Cause

This problem occurs because Windows Scripting Host version 5.6 consumes about three times more stack space than Windows Scripting Host version 5.1.

↑ Back to the top


Resolution

To resolve this problem, upgrade to Internet Explorer version 6 or later because the maximum committed stack size has been increased from 256 KB to 1 MB.

↑ Back to the top


Workaround

If you cannot upgrade to Internet Explorer version 6 or later, or if you are already using this version, to work around this problem, rewrite your code to use iteration instead of recursion.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


Keywords: KB325453, kbfix, kbbug

↑ Back to the top

Article Info
Article ID : 325453
Revision : 5
Created on : 2/1/2007
Published on : 2/1/2007
Exists online : False
Views : 413