comp.lang.ada
 help / color / mirror / Atom feed
From: aidan@skinner.demon.co.uk (Aidan Skinner)
Subject: Re: GNAT: storage error and tasks
Date: 2000/01/26
Date: 2000-01-26T00:00:00+00:00	[thread overview]
Message-ID: <slrn88uuvc.22t.aidan@skinner.demon.co.uk> (raw)
In-Reply-To: 86mjv3$24b$1@nnrp1.deja.com

On Wed, 26 Jan 2000 10:57:39 GMT, pjbrooke@my-deja.com
<pjbrooke@my-deja.com> wrote: 

>other bits rather messy, so I'd rather use tasks) then there is no
>problem.  However, when using tasks, they raise Storage_Error.
>
>I'm using GNAT 3.10p on a Debian Linux machine.

Two things: 
    1) you probably want to upgrade to gnat 3.12p (try
    http://www.gnuada.org or point apt at the frozen branch), this
    probably won't fix your problem but its a good general idea.

    2) It *sounds* like your doing a lot of stuff on the stack, which
       has a 2MB limit. Try moving stuff onto the heap (by using
       access types).

Or follow ted's sugestion.

- Aidan

-- 
Little Willy was a chemist, Little Willy is no more,
What he thought was H2O, Was H2SO4.
http://www.skinner.demon.co.uk/aidan/




  parent reply	other threads:[~2000-01-26  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-26  0:00 GNAT: storage error and tasks pjbrooke
2000-01-26  0:00 ` Ted Dennison
2000-02-05  0:00   ` Robert Dewar
2000-01-26  0:00 ` Aidan Skinner [this message]
2000-01-27  0:00   ` pjbrooke
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox