(12-22-2021, 01:04 PM)KoalaBear2022 Wrote: Ok thats interesting. It was set to 20GB. So I have only 8GB RAM physical memory on my Laptop. The MacOS and standard apps consume around 4 GB so I am left with 4GB. That means as soon as GIMP crosses 4GB it should write on the GIMPs Swap/HardDisk and the rest of the system should be able to handle it if theres enough space on my Hard Disk and not produce an error? I will test this.
Can I also define an external Hard Disk as Swap Disk in case the HD space would not be enough? I also can't find the exact location of the swap folder on the MacOs it only says Edit>Preferences>Folders>Temporary Folder> 2.1 and Edit>Preferences>Folders>Swap Folder> 2.1 on Gimp. Whats the difference of the Swap Folder and Temporary Folder? Do you know where i could find these folders on MacOS?
If you try to change them you get a dialog showing their full path. IIRC the default place for the swap is the Gimp user profile directory, but you can put it on another disk if needed.
Still, if the script deletes the image object in each iteration you should not be using all that memory, whether it's RAM (and OS paging) or Gimp's own swap.