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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2a0aa2b1c348fd6a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news2.google.com!proxad.net!usenet-fr.net!news.enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Duncan Sands Newsgroups: comp.lang.ada Subject: Re: Gnat STORAGE_ERROR Date: Wed, 25 May 2005 13:32:17 +0200 Organization: Cuivre, Argent, Or Message-ID: References: <42943CED.3090408@mailinator.com> <42944DD9.1020000@mailinator.com> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1117020779 91615 212.85.156.195 (25 May 2005 11:32:59 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Wed, 25 May 2005 11:32:59 +0000 (UTC) Cc: comp.lang.ada@ada-france.org To: "Alex R. Mosteo" Return-Path: In-Reply-To: <42944DD9.1020000@mailinator.com> X-Mailer: Evolution 2.2.1.1 X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:11151 Date: 2005-05-25T13:32:17+02:00 On Wed, 2005-05-25 at 12:05 +0200, Alex R. Mosteo wrote: > Duncan Sands wrote: > >>however in linux there seems to be some other limit imposed by ld (not > >>just to Ada programs) that I've been unable to break (nor to get some > >>other person to acknowledge that the problem really exists, but some > >>obscure post in some unknown forum). > > > > > > What does > > ulimit -s > > return? > > unlimited > > I didn't get any linking error, it was simply that the stack size didn't > seem to be honored and peaked at about 2MB. Eventually I removed my > needs for so a big stack and didn't explore the matter further. It could > be too a thing of old linux versions, or something I did wrong. If you don't use a Storage_Size pragma in a task then you get (in s-parame.adb): ------------------------ -- Default_Stack_Size -- ------------------------ function Default_Stack_Size return Size_Type is begin return 2 * 1024 * 1024; end Default_Stack_Size; Ciao, D.