Re: Gnat STORAGE_ERROR
- From: "Alex R. Mosteo" <devnull@xxxxxxxxxxxxxx>
- Date: Wed, 25 May 2005 14:16:33 +0200
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.
.
- Follow-Ups:
- Re: Gnat STORAGE_ERROR
- From: Duncan Sands
- Re: Gnat STORAGE_ERROR
- References:
- Gnat STORAGE_ERROR
- From: tmoran
- Re: Gnat STORAGE_ERROR
- From: Alex R. Mosteo
- Re: Gnat STORAGE_ERROR
- From: Duncan Sands
- Re: Gnat STORAGE_ERROR
- From: Alex R. Mosteo
- Re: Gnat STORAGE_ERROR
- From: Duncan Sands
- Gnat STORAGE_ERROR
- Prev by Date: Re: Gnat STORAGE_ERROR
- Next by Date: Re: Gnat STORAGE_ERROR
- Previous by thread: Re: Gnat STORAGE_ERROR
- Next by thread: Re: Gnat STORAGE_ERROR
- Index(es):
Relevant Pages
|