From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 11 Jun 2004 10:18:40 -0400 From: Richard C Bilson Message-Id: <200406111418.i5BEIeG22889@plg2.math.uwaterloo.ca> To: 9fans@cse.psu.edu Subject: Re: [9fans] any success with current plan9port on sunos5.8? Topicbox-Message-UUID: 9ba16096-eacd-11e9-9e20-41e7f4b1d025 > From: C H Forsyth > > --- > > #define STACK 65536 > =================================================================== > --- > > mainstacksize = 64*1024; > > > what are they doing that uses that much?? Well, like I said, I may be (and probably am) overprovisioning my stacks. But I know that you can't go too far below 32k and expect anything to work. For one thing, every stack frame needs to reserve space to spill an entire register window (96 bytes), plus locals, plus arguments that don't fit in registers. For another thing, some of the call stacks in X are ridiculously deep.