Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!stjhmc!p88.f15.n300.z1.fidonet.org!Lawson.English From: Lawson.English@p88.f15.n300.z1.fidonet.org (Lawson English) Newsgroups: comp.sys.mac.programmer Subject: SetApplLimit (how big a stack do I need?) Message-ID: <34243.27875338@stjhmc.fidonet.org> Date: 6 Jan 91 16:26:14 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:300/15.88 - Tucson Apple Core, Tucson AZ Lines: 24 Dan Revel writes in a message to All DR> My guess was that 8K was more than for any possible case... DR> wrong! So tell me does the operating system or the toolbox or DR> Think C 4.0 have an appetite for stack space I don't know about DR> or what?! Anytime you use DrawText, you put the entire text on the stack. Anytime you use a Region, the ToolBox might use double the region size, etc. 8K was designed for the thin Mac, with only 128K of memory available. You might want to change the heap size. IM vol 2, page 74, and IM vol 4, page 78 have more details for things you can do... Lawson -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!300!15.88!Lawson.English Internet: Lawson.English@p88.f15.n300.z1.fidonet.org