Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python-fu : close xcf/clear memory
#6
I again have a memory filling issue even using gimp.delete(image). I checked for proper position of the command in my loop by inserting a print(image) right before and it's well positioned.
It seems Gimp keeps non inserted layers even after deleting the image, which surprises me because the command to load them needs an image in the arguments: pdb.gimp_file_load_layer(image, filename) so I assume they are still assigned to an image and should be flushed with it, but according to my test that's not the case.
Is there a way to list all the non inserted layers so I can delete them all?
Reply


Messages In This Thread
RE: python-fu : close xcf/clear memory - by Kevin - 09-02-2020, 08:27 AM
RE: python-fu : close xcf/clear memory - by ChameleonScales - 03-08-2021, 02:21 PM

Forum Jump: