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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,de85c452b42b049 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.204.13.69 with SMTP id b5mr5241bka.4.1333574492485; Wed, 04 Apr 2012 14:21:32 -0700 (PDT) Path: h15ni86361bkw.0!nntp.google.com!news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!weretis.net!feeder1.news.weretis.net!news.albasani.net!news.tornevall.net!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Tasking, AWS and segmentation faults Date: Wed, 04 Apr 2012 14:21:19 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <12873826.360.1333555697441.JavaMail.geo-discussion-forums@vbhc14> <4f7caeb8$0$6640$9b4e6d93@newsspool2.arcor-online.net> NNTP-Posting-Host: 6d21152bfc1d5197a61d7eac9afaa1ac Mime-Version: 1.0 X-Trace: f977c1c7b409d4e6d1d41439ad2738a3 X-Complaints-To: abuse@tornevall.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: <4f7caeb8$0$6640$9b4e6d93@newsspool2.arcor-online.net> X-UserIDNumber: 1738 X-Validate-Post: http://news.tornevall.net/validate.php?trace=f977c1c7b409d4e6d1d41439ad2738a3 X-Complaints-Italiano: Non abbiamo padronanza della lingua italiana - se mandate una email scrivete solo in Inglese, grazie X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-04-04T14:21:19-07:00 List-Id: > 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