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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Increasing GNAT's heap Date: Wed, 13 Nov 2013 18:36:38 +0100 Organization: cbb software GmbH Message-ID: <1na6et9vn387k.1klqijlk4ai6e.dlg@40tude.net> References: <1o29hesl8k6yk$.1kqputng2vdks$.dlg@40tude.net> <87habgiufi.fsf@ludovic-brenta.org> <1ogylkzganxtj.1fuy036v94ui4$.dlg@40tude.net> <20131113163213.5c4df4e2@PC-8N-L> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: GYYt8Fzv3ax+aWVyAAu7jw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:17658 Date: 2013-11-13T18:36:38+01:00 List-Id: On Wed, 13 Nov 2013 16:32:13 +0100, Oliver Kleinke wrote: > Various chunks of the 32-bit address space are used to address > various hardware devices in your machine, e.g. PCI devices, APIC etc. > IIRC, how much address space is "wasted" depends on the hardware. So in > essence you will never get 4GiB of RAM on a 32-bit machine. The question is whether that is closer to 4 or to 2. Under Windows it is strictly 2. If Linux reserves lesser chunks of the address space then it should be able to compile the program which at its peak takes 2.6GB for gnat1 under Windows. However, lesser chunks would mean more of them and thus more overhead for handling the process address space. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de