Windows Configuration Files Tricks : CONFIG.SYS (Windows 3.1/DOS)
Control the Number of Data Stacks:
Support the dynamic use of data stacks to handle hardware interrupts.
Open the CONFIG.SYS file found in the root directory of your C: drive using Notepad or another text editor (not Microsoft Word or any word processor).
Add a new line with the text "stacks=xx" where 'xx' is the number of data stacks (for example stacks=9,256). Alternatively use "stackshigh=" command to cause the reserved memory to be taken out of the upper memory area instead.
These changes will take place on the next reboot.
Registry Settings
Value Name: stacks or stackshigh
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.