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.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,884d34d0342bc569 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.190.104 with SMTP id gp8mr7640635pbc.4.1341139869989; Sun, 01 Jul 2012 03:51:09 -0700 (PDT) Path: l9ni5722pbj.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: francois_fabien@hotmail.com Newsgroups: comp.lang.ada Subject: Re: memory leak with new GPS in GNAT GPL 2012 on Windows Date: Sun, 1 Jul 2012 03:51:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <36ae3508-2a3e-4cf7-b884-ea1873b2a2f5@googlegroups.com> <0513685d-9db7-4df9-8592-a463ccd175e9@googlegroups.com> <32f6a8d4-088b-4b9f-b390-16743672f56a@googlegroups.com> NNTP-Posting-Host: 109.190.25.159 Mime-Version: 1.0 X-Trace: posting.google.com 1341139869 18374 127.0.0.1 (1 Jul 2012 10:51:09 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 1 Jul 2012 10:51:09 +0000 (UTC) In-Reply-To: <32f6a8d4-088b-4b9f-b390-16743672f56a@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=109.190.25.159; posting-account=DAe9nQkAAAB9gkplHzkiZyyp2GkJ0X9B User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-01T03:51:09-07:00 List-Id: > In my case when running the simple program below, I find an increase of 48 kbyte every second even when GPS is idle. Here is the simple program that I am running: > I have compiled and run the Test_Fall3 program but did not noticed anything. The memory leak seems to appear spuriously(not always), but the size of it is still 4 Kb/sec in the Task manager, even when GPS is idle. When I minimize/maximize the GPS window, the used memory decreases but the virtual memory is left almost unchanged. Since GPS is using GTK, and GTK has a loop, I would think that this loop is leaking. But on Windows we cannot use Valgrind to check for memory leaks.