Am 15.03.2017 um 20:43 schrieb Michael Fritze:
> Hi,
> 
> I noticed my darktable cache is taking much space. 


I had a look on my cache:

The size is < 5 GB for more than 300 GB pictures.
That is 2%. I think, that is not too much.
And the .cache/-folder can be excluded in backup.


> So I searced for a way to remove unused ones.

What ist unused?
A level-3-  or -4-thumb, that will be used with z-key or ctl+z once a
year, is "nearly unused".

But you have more thumbs per level then pictures in the DT-database.
So I think they are orphaned, not only unused.
Your darktable has no knolledge about some of the thumbs.


> Simple way would be to delete all and rebuild all. But I
> think this could be done better.

Shure, maybe you can make it smarter.
But somtimes the simplest way is the best.

The sizes in my cace are:
0: 110 pixel, 1: 225, 2: 450, 3: 900, 4: 1200 pixel.

Begin with deleting level 3 and up.
~/.cache/darktable/mipmaps-....d/4/ and .../3/.

You would miss nothing until you screw up your ligthttable to 1 picture
per row or use the z-key (zoom full).
You will have a short delay while DT is generating one thumb.
Only "used" thumbs are generated, no "unused".

Higher level will free more diskspace (per picture).

If you also delete the levels 0, 1, 2 it seems to be better to generate
it new like described in:

https://www.darktable.org/usermanual/ch01.html.php#darktable_generate_cache_commandline_parameters

This levels are used in "normal" lighttable-mode (3 to 5 pictures per
row). This is getting slowly, when darktable has to generate masses of
them while scrolling.

> 
> Best Regards, Micha.
> 

Just my point of view.

--

Frank


____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to