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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8727a81126dc209a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-03 10:27:01 PST Path: archiver1.google.com!news2.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep4-winn.server.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Problem with memory leaks in Glade and GLADE References: <2PN9b.1478$I9.42@newsfep4-winn.server.ntli.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Fri, 03 Oct 2003 18:27:00 +0100 NNTP-Posting-Host: 81.100.88.147 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep4-winn.server.ntli.net 1065202021 81.100.88.147 (Fri, 03 Oct 2003 18:27:01 BST) NNTP-Posting-Date: Fri, 03 Oct 2003 18:27:01 BST Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:162 Date: 2003-10-03T18:27:00+01:00 List-Id: Dr. Adrian Wrigley wrote: > I wrote: > ... > >> The GUI client (designed with Glade) consumes monotonically increasing >> memory. >> >> Every second, I make a Set_Text call to display the current time: >> Set_Text (UpdateRecord.Window.Time_Label, Image (Time.Functions.Now)); This problem has been solved, with help from Dave Hill. The leak is in Xft-2.0-1 (not an Ada/GtkAda problem at all!) The full explanation is on the RedHat site: https://rhn.redhat.com/errata/RHBA-2002-305.html The leak was triggered because I was using VNC, which lacks the X RENDER extension. This explains how other users hadn't seen this problem. Thank you Dave for helping solve this mystery! -- Adrian