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: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!news.mb-net.net!open-news-network.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:27:26 +0100 Organization: cbb software GmbH Message-ID: References: <1o29hesl8k6yk$.1kqputng2vdks$.dlg@40tude.net> <87habgiufi.fsf@ludovic-brenta.org> <1ogylkzganxtj.1fuy036v94ui4$.dlg@40tude.net> <52835cab$0$9515$9b4e6d93@newsspool1.arcor-online.net> <1gyri4u994iza.15tpx0vnp77zr.dlg@40tude.net> <20131113163923.32140110@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 X-Original-Bytes: 1866 Xref: number.nntp.dca.giganews.com comp.lang.ada:183861 Date: 2013-11-13T18:27:26+01:00 List-Id: On Wed, 13 Nov 2013 16:39:23 +0100, Oliver Kleinke wrote: >> I don't believe it has anything to do with GCC. It looks clearly like >> GNAT issue which, BTW, also leads to extremely sluggish compilation. >> After all, if you allocate 2+ GB of memory you have to fill it with >> some junk and that takes time, much time. > > I suppose this has to do with swapping/paging, so the sluggishness might > not be GNAT's fault. Certainly no paging, the virtual machine has 8GB free. Compilation is also sluggish under Windows for both native and VxWorks targets on a machine with 16GB RAM. Both compile successfully. [Not to confuse compiling with linking. Linking is also extremely slow, especially when building a dynamic library, but that is a known GCC issue] -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de