comp.lang.ada
 help / color / mirror / Atom feed
From: Oliver Kleinke <oliver.kleinke@c-01a.de>
Subject: Re: Increasing GNAT's heap
Date: Wed, 13 Nov 2013 16:32:13 +0100
Date: 2013-11-13T16:32:13+01:00	[thread overview]
Message-ID: <20131113163213.5c4df4e2@PC-8N-L> (raw)
In-Reply-To: 1ogylkzganxtj.1fuy036v94ui4$.dlg@40tude.net

> 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.


  parent reply	other threads:[~2013-11-13 15:32 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-12 11:09 Increasing GNAT's heap Dmitry A. Kazakov
2013-11-12 13:26 ` Georg Bauhaus
2013-11-12 14:00   ` Dmitry A. Kazakov
2013-11-12 17:31     ` Paul Rubin
2013-11-13  8:00       ` Dmitry A. Kazakov
2013-11-12 19:30     ` Georg Bauhaus
2013-11-12 22:03 ` Florian Weimer
2013-11-13  8:05   ` Dmitry A. Kazakov
2013-11-13 15:41     ` Oliver Kleinke
2013-11-13  8:21 ` Ludovic Brenta
2013-11-13  8:23   ` Ludovic Brenta
2013-11-13  8:58   ` Dmitry A. Kazakov
2013-11-13 11:04     ` Georg Bauhaus
2013-11-13 13:31       ` Dmitry A. Kazakov
2013-11-13 15:39         ` Oliver Kleinke
2013-11-13 16:07           ` Eryndlia Mavourneen
2013-11-13 16:11             ` Eryndlia Mavourneen
2013-11-13 17:27           ` Dmitry A. Kazakov
2013-11-13 17:41             ` Eryndlia Mavourneen
2013-11-13 18:02               ` Dmitry A. Kazakov
2013-11-13 15:37       ` Oliver Kleinke
2013-11-13 15:32     ` Oliver Kleinke [this message]
2013-11-13 17:36       ` Dmitry A. Kazakov
2013-11-13 18:44         ` Oliver Kleinke
2013-11-13 22:08     ` Ludovic Brenta
2013-11-14  8:51       ` Dmitry A. Kazakov
2013-11-14 10:50         ` Georg Bauhaus
2013-11-14 11:16           ` Dmitry A. Kazakov
2013-11-14 13:07 ` Marius Amado-Alves
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox