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
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
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
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
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