Re: Gdk Pixbufloader not freeing memory



Perl FAQ: How can I free an array or hash so my program shrinks?
You can't.

     http://www.perldoc.com/perl5.6.1/pod/perlfaq3.html

On Fri, 2003-02-21 at 08:28, dams idm fr wrote:
"Jason Forkey" <jason forkey net> said:

I had a problem using the pixbufloader with Gtkperl.  Basically the loader
object doesn't seem to be releasing memory even when it is explicitly undef'd.
I wrote a small test script to try to isolate the problem.  It creates a window
with a single button.  Every time you click the button an image (hard coded in
the script) will be loaded using the pixbufloader.  If I run this program and
watch the memory usage with top, I can see that the memory utilization for the
script just keeps increasing.  Has anyone seen this before?  Is there a
workaround?

is the memory released after the program (ie perl interpreter) is terminated?

-- 
dams
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list


-- 
[ e d @ h a l l e y . c c ]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]