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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,cf8b802d278af5c9 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.stueberl.de!newsreader.cw.net!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: michael bode Newsgroups: comp.lang.ada Subject: Re: Ada newbie + Gtkada + Win2000 = ? Date: Sun, 16 Sep 2007 20:12:53 +0200 Organization: 1&1 Internet AG Message-ID: References: <6h8qe35tkcunqut5ufvjn299om46ku72uh@4ax.com> NNTP-Posting-Host: p57b611d5.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: online.de 1189966374 25743 87.182.17.213 (16 Sep 2007 18:12:54 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Sun, 16 Sep 2007 18:12:54 +0000 (UTC) User-Agent: Thunderbird 1.5.0.13 (X11/20070824) In-Reply-To: <6h8qe35tkcunqut5ufvjn299om46ku72uh@4ax.com> Xref: g2news2.google.com comp.lang.ada:1957 Date: 2007-09-16T20:12:53+02:00 List-Id: Brian Drummond schrieb: > (2) Memory leaks in all the "Plot" widgets. > (a) alternately selecting "Plot" and "Plot3D" I can get memory usage up > to about 45MB before allocation fails; > (b) "Plot_Realtime" lasts about a minute before falling over (at about > 18MB memory usage) > (c) "Plot_3D" leaks about 320K per press of a "Rotate" button. On the > 31st press (every time I've counted!) it falls over with: > gdkgc-win32.c:846 SaveDC failed: not enough memory available to process > this command" and an Exception_Access_Violation. > This message is typical of the failures in the other widgets too. I've seen some of these memory leaks and crashes in GtkAda 2.4. I think GtkAda 2.4 shipped with a (even then) outdated version of GtkExtra and when using a newer GtkExtra at least the Plot Realtime worked. I'm not sure but I doubt GtkAda does much memory allocation itself, so I'd suspect memory leaks originate in Gtk and especially in GtkExtra.