PDA

You are currently viewing a search engine-friendly (archive) version of this page.

View Full Version : Solve the "No Spare Stack Pages" Error


manunkind
October 7, 2002, 12:52 am
When you start Windows 95 or 98, you may encounter this odd error message:

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 error occurs when a Windows device driver runs low on temporary memory space. Windows sets aside several blocks of extra memory, known as spare stack pages, so that device drivers can continue to function in this situation without causing a system crash. The default number of spare stack pages is 2. (Don't confuse this error with the "Stacks=" line in the Config.sys file, these are two separate issues)

If Windows 95/98 runs out of spare stack pages, you see this warning message. To fix the problem, launch Notepad, open the System.ini file, and add the following line to the [386Enh] section:

MinSPs=4

If the problem persists, increase the value of MinSPs in increments of 4--to 8, 12, or 16, for example. Don't worry about using too much memory, either, because each extra stack page gobbles up only a tiny 4KB of memory.