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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,419864ed91cc937d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!gegeweb.org!aioe.org!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: heap size exceeded for large matrices Date: Sun, 29 Aug 2010 11:51:47 +0200 Organization: Ada @ Home Message-ID: References: <14007b1b-c290-4c73-a0ec-d3c5195b83d4@t20g2000yqa.googlegroups.com> NNTP-Posting-Host: Xi09WsmUI/HcXjPdkljxxg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Opera Mail/10.61 (Win32) Xref: g2news1.google.com comp.lang.ada:13794 Date: 2010-08-29T11:51:47+02:00 List-Id: Le Sun, 29 Aug 2010 10:50:39 +0200, John Raymond Dore a =C3=A9crit: > I have no difficulty in increasing the storage size of a task. > I cannot do the same for matrices within a procedure Forgive my question is this ever happens to looks stupid: is your matrix= = allocated as a local object of that procedure ? If so, the stack may have a maximum limit which cannot be exceeded, and = = dynamic allocation may solve the case. If not, an excerpt from the source could help to see. Do you use Ada.Numerics.Generic_Real_Arrays.Real_Matrix ? (that is what = I = supposed, may need to be confirmed). -- = =E2=80=9CDual licensing is the Perl's way to disinfect the GNU General P= ublic = Virus!=E2=80=9D (anonymous)