Xref: utzoo comp.sys.ibm.pc.programmer:2253 alt.msdos.programmer:1823 Path: utzoo!mnetor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!yale!mintaka!nuhub!nic!diamond.bbn.com!hlison From: hlison@bbn.com (Herb Lison) Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer Subject: Stack Size question Message-ID: <14298@silica.BBN.COM> Date: 5 Jul 90 14:48:25 GMT Distribution: comp, alt Organization: BBN Laboratories Incorporated, Cambridge, MA Lines: 13 I'm having a problem allocating a larger stack than the default. I've got a large program, approximately 330 K for the .EXE file. When I increase the stack size from 2K to 8K with the EXEMOD utility, the program immediately exits with a stack overflow error (R6000). Running the program with a smaller stack results in a stack overflow error later on. I've tried using overlays, but this doesn't seem to make any difference. Anyone have any ideas on what do here? There's not much more code that I can hack away and I'm not going to be able to use extended memory. Thanks in advance. Herb Lison