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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.ams.giganews.com!nntp.giganews.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Oliver Kleinke Newsgroups: comp.lang.ada Subject: Re: Increasing GNAT's heap Date: Wed, 13 Nov 2013 16:32:13 +0100 Organization: A noiseless patient Spider Message-ID: <20131113163213.5c4df4e2@PC-8N-L> References: <1o29hesl8k6yk$.1kqputng2vdks$.dlg@40tude.net> <87habgiufi.fsf@ludovic-brenta.org> <1ogylkzganxtj.1fuy036v94ui4$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: mx05.eternal-september.org; posting-host="434901b96fa29c45bb85d71213c80cc9"; logging-data="21145"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ArnzhD8OYOsIqLRBlgYivjD8VWIPmLjg=" X-Newsreader: Claws Mail 3.9.2 (GTK+ 2.24.21; x86_64-pc-linux-gnu) Cancel-Lock: sha1:6tpc8xqBZO1fUv3baOlNmDWZFjQ= Xref: number.nntp.dca.giganews.com comp.lang.ada:183855 Date: 2013-11-13T16:32:13+01:00 List-Id: > It is 8GB RAM allowed for the virtual machine. Probably a waste without PAE. > Are you sure about 4GB? Doesn't Linux reserve some address space for > its the kernel? Under Windows, where GNAT has same problems I cannot > get more than 2GB. There is a boot switch to allow 3GB but it does > not work well with GNAT. When GNAT is running under 64-bit Windows it > goes through being 32-bit itself. From this I conclude that true 4GB > under Linux would be enough to compile it. 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.