Re: [Gimp-developer] Python FU Scripting -- Memory Leak? or How to release python gimp objects properly to manage memory usage?
- From: Ofnuts <ofnuts laposte net>
- To: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] Python FU Scripting -- Memory Leak? or How to release python gimp objects properly to manage memory usage?
- Date: Thu, 16 Feb 2012 09:42:56 +0100
You should use gimp_image_delete() when you are done with one image.
On 02/16/2012 05:42 AM, Tom Vrankar wrote:
img =gp.gimp_image_new (1280, 720, 0)
dsp =gp.gimp_display_new (img)
lyr =gp.gimp_layer_new_from_drawable (src.layers[1], img)
img.insert_layer (lyr, position =0)
gp.gimp_display_delete (dsp)
I see memory use jump after each iteration. Any help is appreciated.
twv@
_______________________________________________
gimp-developer-list mailing list
gimp-developer-list gnome org
http://mail.gnome.org/mailman/listinfo/gimp-developer-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]