Computing.Net > Forums > Windows 95/98 > stack overflow error message

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

stack overflow error message

Reply to Message Icon

Name: B James
Date: July 29, 2000 at 06:33:57 Pacific
Comment:

how to fix or what is this error

program error stack overflow



Sponsored Link
Ads by Google

Response Number 1
Name: Lucas Richardson
Date: July 29, 2000 at 06:42:26 Pacific
Reply:

a stack overflow is basicly your cpu running out of memory (this has nothing to do with the ammount of ram in your computer)
it is casued by faulty programing, as it is the programer's job to ensure this does not happen. you yourself probably can't fix it, but it depends.
What program gave you the area, and in what context?


0

Response Number 2
Name: reghakr
Date: July 29, 2000 at 14:24:25 Pacific
Reply:

Would this help:

There Are No Spare Stack Pages

The information in this article applies to:

Microsoft Windows 95
Microsoft Windows 98
Microsoft Windows 98 Second Edition

SYMPTOMS
When you are running Windows 95 or Windows 98, you may receive the following 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 SPs allocated.

CAUSE
This error can occur when Windows 95/98 encounters an internal overflow of the stacks used by 32-bit Windows device drivers. Please note that this is not related to the "Stacks=" line in the Config.sys file, which is used for 16-bit MS-DOS device drivers.

Stack overflow conditions are indicative of errors in the device driver. Device drivers are allocated 4 kilobytes (one page) of space to be used as a stack. If the device driver uses more than 4 kilobytes of memory, a stack overflow condition occurs.

Windows 95/98 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. When the stack overflow condition has passed, Windows 95 reclaims the temporary page. The default number of spare stack pages is 2.

If Windows 95/98 detects that it has run out of spare stack pages, the warning message stated above is displayed. Windows 95/98 continues to operate normally unless a device driver encounters a stack overflow condition when there are no free spare stack pages.

RESOLUTION
To resolve this situation, add the following line to the [386Enh] section of the System.ini 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.

reghakr


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


New K6-2+ from AMD for ... s3 adapter not working



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 95/98 Forum Home


Sponsored links

Ads by Google


Results for: stack overflow error message

A Dam To Prevent A STACKS Overflow? www.computing.net/answers/windows-95/a-dam-to-prevent-a-stacks-overflow/167016.html

Stack overflow www.computing.net/answers/windows-95/stack-overflow/140703.html

stack overflow on clean install www.computing.net/answers/windows-95/stack-overflow-on-clean-install/144438.html