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,WEIRD_PORT autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f479f3331eef5353 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeeder.dynfx.net!weretis.net!news.k-dsl.de!aioe.org!not-for-mail From: Dennis Hoppe Newsgroups: comp.lang.ada Subject: Re: Size of Vector limited to 1024 MB of Heap Size Date: Wed, 25 Jun 2008 17:29:01 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <6celjdF3gdt8gU1@mid.individual.net> NNTP-Posting-Host: eMUkqM2Bbz1SM9HvZvzmzA.user.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org In-Reply-To: User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) Xref: g2news1.google.com comp.lang.ada:876 Date: 2008-06-25T17:29:01+02:00 List-Id: Hi Peter, Peter Schildmann wrote: > I was able to allocate much more memory with the following > test program on a 64-bit machine running Debian Etch > (tested with gcc 4.1.2 and gcc 4.3.1). > [code snippet] The same code runs on machine out of memory at 1024 MB. I thought, my system is 64 bit (Mac OS X 10.5), hmm. With the gcc flag -m64 I get the following error while compiling: heap.adb:17:04: instantiation error at a-convec.ads:330 heap.adb:17:04: alignment for "Vectort31b" must be at least 8 heap.adb:17:04: instantiation error at a-convec.ads:330 heap.adb:17:04: alignment for "Vectorb36b" must be at least 8 Best regards, Dennis