Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!rutgers!njin!princeton!idacrd!mac From: mac@idacrd.UUCP (Robert McGwier) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: MS LINK & MSC5.1 problems Message-ID: <726@idacrd.UUCP> Date: 11 Jun 90 15:56:58 GMT References: Distribution: comp Organization: idacrd, princeton, nj Lines: 25 From article , by sitze@nmsu.edu (Richard Sitze): > > I'm getting > > LINK : error L2041: stack plus data exceed 64K > Richard: Do you REALLY need these big variables to be local variables. I would malloc these large arrays (fmalloc if you are using a small model) thse variables off the far heap and then your stack overflow problems should goi away. You just can't get more than 64K out of a single segment, which is what you get when you set SS. USE MALLOC, THIS IS WHAT IT IS FOR! Hope this helps. Bob -- ____________________________________________________________________________ My opinions are my own no matter | Robert W. McGwier, N4HY who I work for! ;-) | CCR, AMSAT, etc. ----------------------------------------------------------------------------