From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,86f12c6cc81fafe X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsdst01.news.prodigy.net!prodigy.com!postmaster.news.prodigy.com!newssvr29.news.prodigy.net.POSTED!660be329!not-for-mail From: "Kevin K" Message-ID: Newsgroups: comp.lang.ada Subject: Re: exception access violation References: <1163446297.630444.280740@b28g2000cwb.googlegroups.com> <1163584330.6500.6.camel@localhost.localdomain> User-Agent: ProNews/2 V1.57.cp107 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 70.248.213.85 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr29.news.prodigy.net 1163634181 ST000 70.248.213.85 (Wed, 15 Nov 2006 18:43:01 EST) NNTP-Posting-Date: Wed, 15 Nov 2006 18:43:01 EST Organization: SBC http://yahoo.sbc.com X-UserInfo1: OP[MQ[OG\JWUST@[N[O@_WH@YR_B@EXLLBWLOOAFWIWTEPIB_NVUAH_[BL[\IRKIANGGJBFNJF_DOLSCENSY^U@FRFUEXR@KFXYDBPWBCDQJA@X_DCBHXR[C@\EOKCJLED_SZ@RMWYXYWE_P@\\GOIW^@SYFFSWHFIXMADO@^[ADPRPETLBJ]RDGENSKQQZN Date: Wed, 15 Nov 2006 23:43:01 GMT Xref: g2news2.google.com comp.lang.ada:7485 Date: 2006-11-15T23:43:01+00:00 List-Id: On Wed, 15 Nov 2006 09:52:10 UTC, Georg Bauhaus wrote: > Why is using the heap + controlled for larger data structures > more portable than using the stack? I Some operating systems put smaller than you would expect limitations on the environment stack. And while you can change it in some cases, while playing around, I found that Mac OSX, for example, seemed to have a 16MB limit (going by memory). And since task stacks were put on this stack instead of in the heap, that further limited it. If I was writing stuff from scratch that was also going to run on it, I would work on putting the data on the heap. --