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: Thu, 14 Nov 2013 09:51:03 +0100 Organization: cbb software GmbH Message-ID: <1r3oajq2xyoa8.nk30inqza0mr.dlg@40tude.net> References: <1o29hesl8k6yk$.1kqputng2vdks$.dlg@40tude.net> <87habgiufi.fsf@ludovic-brenta.org> <1ogylkzganxtj.1fuy036v94ui4$.dlg@40tude.net> <8761rwhs3r.fsf@ludovic-brenta.org> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: IenaDxMXK2hi7fvYcb+MlQ.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:17665 Date: 2013-11-14T09:51:03+01:00 List-Id: On Wed, 13 Nov 2013 23:08:56 +0100, Ludovic Brenta wrote: > You did mention "GNAT 4.6.4 under Debian, testing, 32-bit". Now the > actual amount of virtual address space available to a 32-bit process > under Linux depends on the Linux kernel: > > pure 32-bit kernel => 2 or 3 GiB, depending on configuration > 32-bit kernel with PAE => 4 GiB per process > 64-bit kernel => 4 GiB per 32-bit process linux-image-3.10-3-686-pae, but it seems that GNAT cannot get more than 2GB or so. > Then maybe you should try placing the instantiation of your generic into > a package of its own, thereby breaking a chain of instantiations? I cannot instantiate in a package, because instances come from a library. They are a part of another project. Trying to restructure the program, it seems that if a package A with-es B that inturn does C, then compilation of A will still be influenced by C even if A does not refer to C. Separate bodies do not help either. It looks like if a separate body with-es anything that swings back to the parent body. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de