Changing Spare Stack Pages (Windows 95)

Posted On 2005-11-1 by FortyPoundHead
Keywords: Changing Spare Stack Pages (Windows 95)
Views: 1439

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

About the Author

FortyPoundHead has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links