Discussion Locked

What is "MinSPs" in the system.ini file

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
What is "MinSPs" in the system.ini file? It keeps my computer from running optimally.

7 replies

by syscokid

Minimum stack pages. It designates how much memory Windows allocates for device drivers. If the value is too low, you may
receive the following 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 x currently SPs allocated."
NOTE: This has nothing to do with the DOS mode CONFIG.SYS "STACKS=" setting!
Stack overflow indicates errors in [poorly written :(] drivers, and Win9x sets
aside 4 KB of RAM for each stack page used by drivers. But if a driver tries to use more than 1 page at a time, stack overflow occurs, in which case your computer may crash. If Win9x can successfully "bypass" a stack overflow situation, it reclaims this memory and returns it back to the system.
To prevent such errors, add the following line under the [386enh] section of
your SYSTEM.INI file, located in your Windows folder (example):
MinSPs=4
If after doing this you still get those error messages, try increasing the
MinSPs number using multiples of 2: 4, 6, 8, 10, 12 etc.
Each stack page requires 4 KB of memory. Default MinSPs value is 2.

Restart Windows when done for this change to take effect.
FYI: More info @ MSKB:
http://support.microsoft.com/support/kb/articles/q149/0/83.asp

This discussion is closed to new replies.