🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #802

Re: Increase run-time stack size

#802
From: Steve Harrold
Date: Wed, 27 Jun 1990 15:20
12 lines
964 bytes
>>> Please give me some hints to avoid stack overflow. As I recall,
>>> one can put a stack size in main() file or use switches to specify 
>>> stack size during linking.
-----------------

Things that seem to go into the stack with Microsoft C programs include the
environment table (in some memory models); thus you might want to reduce
the number of superfluous variables in the DOS environment.

Also check into the EXEMOD program (it comes with Microsoft C and other MS
products).  You can use it to alter the size of the stack of an already
existing .EXE file.  
Technical Details
Message-ID: <100010006@hpcupt1.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!hplabs!hpda!hpcupt1!swh
References: <32559@ut-emx.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!hplabs!hpda!hpcupt1!swh
From: swh@hpcupt1.HP.COM (Steve Harrold)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Re: Increase run-time stack size
Message-ID: <100010006@hpcupt1.HP.COM>
Date: 27 Jun 90 15:20:33 GMT
References: <32559@ut-emx.UUCP>
Organization: Hewlett Packard, Cupertino
Lines: 12