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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham 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!news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Alex R. Mosteo" Newsgroups: comp.lang.ada Subject: Re: Gnat STORAGE_ERROR Date: Wed, 25 May 2005 14:16:33 +0200 Message-ID: <42946CA1.5070405@mailinator.com> References: <42943CED.3090408@mailinator.com> <42944DD9.1020000@mailinator.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net +NxzOVzWUtFByg5V4uMzVQlWteeOC3DN1gXSpnUdGXqtrLRzQ= User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317) X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:11152 Date: 2005-05-25T14:16:33+02:00 List-Id: Duncan Sands wrote: > 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): I was using explicit sizes, but thank nonetheless. > ------------------------ > -- Default_Stack_Size -- > ------------------------ > > function Default_Stack_Size return Size_Type is > begin > return 2 * 1024 * 1024; > end Default_Stack_Size; > > Ciao, > > D. >