From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Tasking, AWS and segmentation faults
Date: Wed, 04 Apr 2012 14:21:19 -0700
Date: 2012-04-04T14:21:19-07:00 [thread overview]
Message-ID: <jlie31$46p$1@tornado.tornevall.net> (raw)
In-Reply-To: <4f7caeb8$0$6640$9b4e6d93@newsspool2.arcor-online.net>
> On 04.04.12 18:08, tonyg wrote:
>>
>> I have a function which is an aws response. In that function I have an array
>> of 86400 records which are processed. I was sort of expecting an error and I
>> got one which is
>>
>> Exception name: STORAGE_ERROR
>> Message: s-intman.adb:139 explicit raise
Since this is an AWS response function, it's called from an AWS "slot" task. I
don't know any way to set the stack size for these tasks, so you'll either have
to use a different data structure [an unbounded array ("vector") would do, since
it moves your data into the heap] or explicitly move your array into the heap.
--
Jeff Carter
"C++ is like jamming a helicopter inside a Miata
and expecting some sort of improvement."
Drew Olbrich
51
next prev parent reply other threads:[~2012-04-04 21:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 16:08 Tasking, AWS and segmentation faults tonyg
2012-04-04 19:09 ` Vadim Godunko
2012-04-04 20:27 ` Georg Bauhaus
2012-04-04 21:21 ` Jeffrey Carter [this message]
2012-04-05 10:38 ` tonyg
2012-04-05 11:03 ` Georg Bauhaus
2012-04-05 15:20 ` tonyg
2012-04-05 16:22 ` Simon Wright
2012-04-05 17:09 ` J-P. Rosen
2012-04-05 16:58 ` Pascal Obry
2012-04-05 17:14 ` Jeffrey Carter
2012-04-05 17:18 ` Pascal Obry
2012-04-05 18:30 ` Jeffrey Carter
2012-04-08 8:09 ` tonyg
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox