Re: [Gimp-developer] Is there any way to free Gimp memory and avoid restarting it?



On 2/1/19 11:35 PM, jEsuSdA 8) wrote:
El 1/2/19 a las 23:15, jEsuSdA 8) escribió:
Hi!


When editing several images in Gimp (10Mpixels each one), Gimp consumes memory little by little (sometime not so little by little ;) ) and this memory does not get free instead the images where closed.


So, after few time using Gimp, it consumes ALL MEMORY available and I must close and start again.

Is there any way to force Gimp to free memory?

Why if I open a image, when I close it after editing the memory used by Gimp for this image is not liberated?

I mean, if I load an image and the Gimp memory consumption increases 400MB, and I open another one (another 400MB more), I expect when I close the first one, Gimp should free the 400MB of memory reserved to the first image edition. Is something working wrong?


This is a very important think to me because I usually do long editing session where I could retouch about 50 images and, obviously is very annoying to close and restart Gimp every 5 or 6 processed images.


Thanks a lot.


GIMP 2.10.8 over Debian GNU/Linux (Testing)


Here some screenshots:


After opening and editing 3 images (10Mpix each one):


http://pasteall.org/pic/show.php?id=9066d31d4341eb69702b2dc223500215
http://pasteall.org/pic/show.php?id=6382dab480d0042e8d1479e226efb0e7

3 opened images = 4.4 GB of memory

Here, after opening, edit AND CLOSE 4 more images:

http://pasteall.org/pic/show.php?id=ee7a14d2803d7f62f0eb65d23c54650a
http://pasteall.org/pic/show.php?id=1f442cc78affbb9cde59be9e13e5a2d4


3 opened images = 6.3 GB of memory


The fact that the memory isn't marked free doesn't mean it is unusable. Tried in Gimp 2.10 on Ubuntu:

- load 5 20MPx Jpegs: memory is 1.35GB

- close all: memory still at 1.35GB

- load them again: memory is 1.4GB

- close all: memory still at 1.4GB

- load them again: memory is 1.4GB

- close all: memory still at 1.4GB

So the memory seems reused...






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