Tools Links Login

Changing Spare Stack Pages (Windows 95)

Windows 95 sets aside a number of extra memory pages (spare stack pages) to be used temporarily to prevent a system "crash" due to a stack overflow condition. Sometimes all the spare pages can be used, and an error message is shown, this tweak allows you to increase the number available.
If you receive the following error message, it means Windows has detected that it has run out of spare stack pages. Windows should continue to operate normally unless a device driver encounters a stack overflow condition when there are no free spare stack pages.
Error: 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 [xxx] SPs allocated.
To increase the the number of available spare pages follow these instructions:
Open the file SYSTEM.INI located in your Windows directory (usually C:\WINDOWS\SYSTEM.INI) using a text editor (e.g Notepad).
Add the following line to the [386Enh] section of the file and then restart your computer:
MinSPs=4
If the problem persists, increase the number of spare stack pages in increments of 4 (for example, 8, 12, 16). Note: Each spare stack page requires 4 kilobytes of memory.

More Info: http://support.microsoft.com/support/kb/articles/Q149/0/83.asp

About this post

Posted: 2005-11-1
By: FortyPoundHead
Viewed: 1,635 times

Categories

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.