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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a0d66e40cda260bb,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail From: "Zheng Wang" Newsgroups: comp.lang.ada Subject: Memeory management Date: 5 Sep 2005 14:02:19 -0700 Organization: http://groups.google.com Message-ID: <1125951895.357358.320220@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: 130.88.192.82 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1125954144 22713 127.0.0.1 (5 Sep 2005 21:02:24 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 5 Sep 2005 21:02:24 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o13g2000cwo.googlegroups.com; posting-host=130.88.192.82; posting-account=Z5_cDw0AAAAiVsYHnsUBMTESnujcktdr Xref: g2news1.google.com comp.lang.ada:4450 Date: 2005-09-05T14:02:19-07:00 List-Id: Hi, My program is compiled by ObjectAda and ran on Windows, then it returns code 128(a correct program should return code 0). I found that there are too many variables declared and after I merged some variables(number of variables deduced), it does work perfectly. I wonder that are there any constrains on the memory allocated for variable declaraions? However, I did not allocate and deallocate memory as I did in C, does Ada provide automatically garbage collection? How could I handle this case if I can not deduce the number of variables declared? Many thanks.