View Full Version : No stack pages
Kommodore-X
March 26th, 2001, 07:55 AM
I just got Blue Screen and it says that "Your system has no spare stack pages, increase setting of Minimum Stack pages in System.ini. Only 5 Stack Pages Allocated" What does it all mean?!
HKEd
March 26th, 2001, 10:02 AM
No big deal, really. Stack overflow conditions are indicative of errors in the device driver. Device drivers are allocated 4 kilobytes (KB), or one page, of space to be used as a stack. If the device driver uses more than 4 KB of memory, a stack overflow condition occurs. All you have to do is open system.ini, scroll down to the [386Enh] heading and look for this line:
MinSPs=5
Change the 5 to a 9, save and exit. If the problem persists (unlikely) change it to 13. If, for some strange reason, the line does not exist, just add:
MinSPs=9
Under the [386Enh] section. I'm pretty sure this is case specific, so type it as indicated.
Kommodore-X
March 26th, 2001, 10:09 AM
This is that section:
[386Enh]
ebios=*ebios
woafont=dosapp.fon
device=*dynapage
device=*VCD
device=*vpd
device=*int13
keyboard=*vkd
display=*vdd,*vflatd
mouse=*vmouse
MinPagingFileSize=98304
PagingDrive=C:
MemBufAllocator=414FD6978B05A7EB7F804B4430313934
Should I change this MinPagingFileSize=98304?
[ 26 March 2001: Message edited by: Kommodore-X ]
HKEd
March 26th, 2001, 10:10 AM
BTW, there is some debate about this as MS recommends starting with MinSPs=4, increasing it to 8, 12 etc..
I have never seen an "Only 4 Stack Pages Allocated" message. Whatever, adding four to the actual stack page allocation message always does the trick. It doesn't matter in the end.
HKEd
March 26th, 2001, 10:13 AM
Posting at the same time.
No...that's your swap file. Just add the MinSPs=9 line as indicated in my previous post.
Kommodore-X
March 26th, 2001, 08:52 PM
So I add the line and not change any of the ones already there?
MishY
March 26th, 2001, 09:00 PM
Kommodore,
No you don't need to modify any of the lines there unless you already have a MinSPS= line in your system.ini.
If you would like to read the M$ article which is what HKED is correctly referring to click on the following link MSKb Q149083 (http://support.microsoft.com/support/kb/articles/Q149/0/83.asp)
MishY