comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: Increasing GNAT's heap
Date: Wed, 13 Nov 2013 12:04:12 +0100
Date: 2013-11-13T12:04:11+01:00	[thread overview]
Message-ID: <52835cab$0$9515$9b4e6d93@newsspool1.arcor-online.net> (raw)
In-Reply-To: <1ogylkzganxtj.1fuy036v94ui4$.dlg@40tude.net>

On 13.11.13 09:58, Dmitry A. Kazakov wrote:
> On Wed, 13 Nov 2013 09:21:05 +0100, Ludovic Brenta wrote:
>
>> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>>> Does anybody know a way to increase the heap size available for GNAT? It
>>> crashes with famous GNAT BUG DETECTED, Storage_Error heap exhausted.
>>>
>>> GNAT 4.6.4 under Debian, testing, 32-bit

> The compiler starts
> frantically allocating huge amounts of memory, expanding generics, I
> suppose. This is how it comes to gigabytes when compiling a mere 100-liner.

Ouch, I had completely misread the question.  Voracious consumption
of memory is also a property of GCC for C. Gcc hits the ceiling
(or floor) for even a short C program:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56344

Another way to ask, then, might be, if there is a GNAT
executable that will itself use a PAE kernel's extended addressing?

If doubling memory only defers the issue, maybe that's something
to ask on the GCC list?

  reply	other threads:[~2013-11-13 11:04 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 [this message]
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
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