comp.lang.ada
 help / color / mirror / Atom feed
From: michael bode <m.g.bode@web.de>
Subject: Re: Ada newbie  + Gtkada + Win2000 = ?
Date: Sun, 16 Sep 2007 20:12:53 +0200
Date: 2007-09-16T20:12:53+02:00	[thread overview]
Message-ID: <fcjrn5$p4f$1@online.de> (raw)
In-Reply-To: <6h8qe35tkcunqut5ufvjn299om46ku72uh@4ax.com>

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.



      parent reply	other threads:[~2007-09-16 18:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-16 14:11 Ada newbie + Gtkada + Win2000 = ? Brian Drummond
2007-09-16 14:53 ` Dmitry A. Kazakov
2007-09-16 23:54   ` Brian Drummond
2007-09-16 18:12 ` michael bode [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox