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,6b353437b73507a5 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews2.google.com!not-for-mail From: wojtek@power.com.pl (Wojtek Narczynski) Newsgroups: comp.lang.ada Subject: Re: Basic program with tasks goes out of memory Date: 6 Aug 2004 03:57:38 -0700 Organization: http://groups.google.com Message-ID: <5ad0dd8a.0408060257.568a937f@posting.google.com> References: <5ad0dd8a.0408050655.355fa926@posting.google.com> <2nf4m2F7cpkU1@uni-berlin.de> NNTP-Posting-Host: 62.111.211.178 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1091789859 10139 127.0.0.1 (6 Aug 2004 10:57:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 6 Aug 2004 10:57:39 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:2604 Date: 2004-08-06T03:57:38-07:00 List-Id: Hello, Thanks everybody, I corrected my program accordingly, and it works fine now, 1.2MB of memory usage and holding. This seems to be a very common mistake. "Concurrency in Ada" by AB & AW leaks storage of all dynamically allocated tasks, as far as I could "grep" it by hand. AdaSockets example code also leaks like that. Regards, Wojtek