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

2019-02-02 Thread jEsuSdA 8)

El 2/2/19 a las 9:58, Ofnuts escribió:
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...



Hi!

In my case, the memory marked as used is actually used (this is why I 
send you the LXTask screenshots).


In fact, if I use Gimp for long time, it consumes all free memory and 
linux has to use swap. This is why I have to restart Gimp.



Concerning your tests, I only can say that my own are not only opening 
and closing images but doing few tasks on them: color adjust, few 
filters, adding some layers and maks, etc.


Maybe this could makes some difference (e.g. the memory used for undo 
actions).



This is my Gimp configuration (maybe it could help):

https://i.imgur.com/HC2BEbR.png


Thanks!
___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list


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

2019-02-02 Thread Ofnuts

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...




___
gimp-developer-list mailing list
List address:gimp-developer-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list