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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,97ef4f98f5ce08be X-Google-Attributes: gid103376,public From: Stephen & Tammy House Subject: Re: How to set stack size of main task? Date: 1996/10/01 Message-ID: <3251CF5F.50B@ro.com>#1/1 X-Deja-AN: 186595714 references: to: "Volker.Lendecke" content-type: text/plain; charset=us-ascii organization: RENAISSANCE INTERNET SERVICES mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 3.0 (Win95; I) Date: 1996-10-01T00:00:00+00:00 List-Id: The main task stack size in Ada83 is determined by the RTS and or the OS. Under unix, the shell has stack size limits set (see the limit command). I'm not sure, but I doubt that Ada95 has done anything about this. Tasks are set up by the RTS, but there is no hook to the main thread since it is started by the OS's loader. Of course, you don't need to have to matrix allocated on the program stack. Create the object on the heap with an access type. There still might be problems with the compiler when objects get very large. Check around in package System for data record size limits. And, of course, even the heap has its limits, virtual memory or no.