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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,be7fa91648ac3f12 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.maxwell.syr.edu!stargate.gts.cz!news.freedom2surf.net!nntp-peering.plus.net!ptn-nntp-feeder03.plus.net!ptn-nntp-spool02.plus.net!ptn-nntp-reader03.plus.net!not-for-mail User-Agent: Microsoft-Entourage/10.1.6.040913.0 Date: Thu, 14 Apr 2005 15:40:06 +0100 Subject: Re: Large arrays (again), problem case for GNAT From: "(see below)" Newsgroups: comp.lang.ada Message-ID: References: <1113464720.9829.20.camel@localhost.localdomain> Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Organization: Customer of PlusNet plc (http://www.plus.net) NNTP-Posting-Host: 6ce2e643.ptn-nntp-reader03.plus.net X-Trace: DXC=TPMJf>O\d1jg2_3e^YPGEoigd3Y`7Rb;n@`8gV4CC7IgYTI\\_:3`?d]?TVh8652jmOcSkbW?GUbbKlX2O8[e0jg X-Complaints-To: abuse@plus.net Xref: g2news1.google.com comp.lang.ada:10459 Date: 2005-04-14T15:40:06+01:00 List-Id: On 14/4/05 3:09 pm, in article pan.2005.04.14.14.09.18.977493@linuxchip.demon.co.uk.uk.uk, "Dr. Adrian Wrigley" wrote: > > You need to write something to *every* machine page to make sure > real memory is allocated. If there isn't enough memory, you > probably can't do anything about it (can you trap this at all?). > But at least it fails early, rather than at a random point much later. Indeed, and after the program had undertaken costly operations that might be even more costly to revert, if that were even possible. -- Bill Findlay chez blueyonder.co.uk