Path: utzoo!attcan!uunet!husc6!think!ames!nrl-cmf!ukma!psuvm.bitnet!cunyvm!ndsuvm1!cunyvm!nysernic!cmx!batcomputer!cornell!rochester!udel!gatech!bloom-beacon!oberon!sdcrdcf!trwrb !cadovax!keithd From: keithd@cadovax.UUCP (Keith Doyle) Newsgroups: comp.sys.amiga Subject: Re: SH program Message-ID: <1054INFO@NDSUVM1> Date: 13 May 88 00:07:18 GMT References: <2422@louie.udel.EDU> <5268@cup.portal.com> Reply-To: keithd@cadovax.UUCP (Keith Doyle) Organization: Contel Business Systems, Torrance, CA Lines: 22 >In article <2422@louie.udel.EDU>, (Mike Hampton) writes: > Try setting your stack to AT LEAST 12000 (more like 20000) >before you use the sh/shar program... More if you still have trouble. >This should stop your GURU's (This is a known problem with "sh". It's a >stack monger.) What are these guys doing that takes up so much stack space? Seems to me you have to try pretty hard to create a program that hogs up so much. I've never had ANY problem with ANY program I've been working on with regards to stack. Why is everyone else having so much trouble? Are people passing entire RastPort structures on the stack instead of pointers, or what? Further, 1) what is the best way to determine how much stack you actually ARE using? and 2) why don't such programs set their stack explicitly if it's too small, I wouldn't think it's all that hard to do (haven't looked however). Keith Doyle # {ucbvax,decvax}!trwrb!cadovax!keithd Contel Business Systems 213-323-8170