General discussion


stack overflow

By rhperson ·
A customer called me about a blue screen error she received while booting up WIN98SE,
"recently installed VxD had caused a stack overflow problem...increase the"MinSP's" in the System.ini...I have tried to modify this and each attempt has failed. How do I correct this?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

stack overflow

by saihib In reply to stack overflow

Here are a couple of things to consider. The Config.sys startup file may not be properly configured for the Windows installation. Use the following values:
STACKS=64,512 this is the maximum allowed)

Error Message: ThereAre No Spare Stack Pages

There are no spare stack pages. It may be necessary to increase the setting of 'MinSPs' in System.ini to prevent possible stack faults. There are currently nnn SPs allocated.

This behavior can occur when Windows encounters an internal overflow of the stacks that are used by 32-bit Windows-based device drivers. Please note that this is not related to the "Stacks=" line in the Config.sys file, which is used for 16-bit MS-DOS-based device drivers.

Windows sets aside a number of extra memory pages, or spare stack pages, to be used temporarily so that your computer does not stop responding (hang) due to a stack overflow condition. When the stack overflow condition has passed, Windows reclaims thetemporary page. The default number of spare stack pages is two.

If Windows detects that it has run out of spare stack pages, you receive the error message that is mentioned in the "Symptoms" section of this article.

To resolve this behavior, add the following line to the [386Enh] section of the System.ini file, and then restart your computer:

If the behavior continues to occur, increase the number of spare stack pages in increments of 4 (for example, 8, 12, 16).

NOTE: Each spare stack page requires 4 KB of memory.

To edit the System.ini file for Windows 95, 98 and 98se:
Click Start, click Run, type sysedit in the Open box, and then click OK.

Click System.ini on the Window menu.

In the [386Enh] section, type the following line:

On the File menu, click Exit, and then click Yes to save the changes.Restart

Related Discussions

Related Forums