comp.lang.ada
 help / color / mirror / Atom feed
From: "wiljan" <W.Derks@nl.cis.philips.com>
Subject: Re: Ada versus Java - Tasking
Date: 1997/01/16
Date: 1997-01-16T00:00:00+00:00	[thread overview]
Message-ID: <01bc03f8$e0a2ce30$22208b82@wd> (raw)
In-Reply-To: 01bc03ee$594dc520$829d6482@joy.ericsson.se


Jonas Nygren <ehsjony@ehs.ericsson.se> wrote in article
<01bc03ee$594dc520$829d6482@joy.ericsson.se>...
> I have tried to check over and over and I can not find
> any errors in my code. Furthermore, with Java I managed
> to start 400 producer-consumer pairs but the Ada version
> stopped working already when 63 pairs were started
> (62 pairs would run).
Address space is limited on NT that is way only 125 tasks.
By default gnat 304 links with -stack 0x1000000,0x10000
This meants that the stack reserve size is 0x1000000.
Since the user address space size is only 0x80000000 maximum
128 stacks for tasks kan be reserved. Thats way the limit of
about 125 tasks.

If you change this into a smaller stack reserve size then you
will be able to create many tasks in your ada program.

The -stack option can be found in the file specs.

Wiljan





  reply	other threads:[~1997-01-16  0:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-16  0:00 Ada versus Java - Tasking Jonas Nygren
1997-01-16  0:00 ` wiljan [this message]
1997-01-16  0:00 ` Brad Balfour
1997-01-25  0:00   ` Robert Dewar
1997-01-17  0:00 ` Jeff Carter
1997-01-19  0:00   ` David Taylor
1997-01-20  0:00     ` Jim Hopper
1997-01-20  0:00       ` Michael Paus
1997-01-21  0:00         ` Jim Hopper
1997-01-21  0:00           ` Larry Kilgallen
1997-01-21  0:00             ` jim hopper
1997-01-21  0:00     ` Dr. John B. Matthews
1997-01-23  0:00     ` Jeff Carter
1997-01-17  0:00 ` Steve Doiel
1997-01-18  0:00 ` Ole-Hjalmar Kristensen FOU.TD/DELAB
1997-01-19  0:00   ` Robert A Duff
1997-01-19  0:00 ` Ole-Hjalmar Kristensen FOU.TD/DELAB
1997-01-19  0:00   ` Larry Kilgallen
1997-01-19  0:00 ` Tom Moran
1997-01-20  0:00 ` Ole-Hjalmar Kristensen FOU.TD/DELAB
1997-01-20  0:00 ` Ada Tasking revisited (was: Re: Ada versus Java - Tasking) Ole-Hjalmar Kristensen FOU.TD/DELAB
1997-01-20  0:00 ` Ada versus Java - Tasking Jon S Anthony
1997-01-20  0:00 ` Dale Pontius
1997-01-21  0:00 ` Ole-Hjalmar Kristensen FOU.TD/DELAB
replies disabled

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