From: Grunde <gru...@fy...> - 2003-03-10 13:04:20
|
Hello, I'm writing a small app to browse a series of images. For this I use Ruby and Gtk (Gdk::Pixbuf and Gtk::Pixmap) and libglade which is very nice... But my app have a (terrible) memory leakage. The strange thing is that the leakage do not show up in the running ruby proses but in X. For each picture I display the memory used by X increases with the approx the size of the image. Since I often look at hundreds of pictures in a row this is BAD, and can fill my memory and swap space bringing my system to a grinding halt. My system is RH7.3, Ruby 1.6.7 and Ruby-Gnome-0.31. In the post concerning the Ruby-Gnome-0.31 release there was a note on a pixmap memory leak in the X server. Maybe this is the bug that have bitten me? So is this bug addressed by others or maybe in the coming Ruby-Gnome2 package? I looked at the sourceforge bug tracker but couldn't find anything. Any suggestions? Best Grunde --=20 Grunde L=F8voll =20 mailto:gr...@fy... http://www.fys.uio.no/~grundel/work.html ICQ: 103294772 Jabber: fi...@ja... f u cn rd ths u r prbly a gk |