Page 1 of 1

Limit the Size of Thumb.db and XnView.db

Posted: Fri Jan 20, 2023 12:48 pm
by TommyD
Hi,

i noticed that on my Xubuntu 20.04 the file Thumb.db was more then 2GB big. I can't find an option to limit the size of both files or only save thumbs for x month. Is there anything i can do to limit the size? I don't need thumbs from projects that ended x-mas 2020 :mrgreen:

Re: Limit the Size of Thumb.db and XnView.db

Posted: Tue Jan 24, 2023 12:09 pm
by MartinP
All I can say about this, is, that within the settings/preferences there are settings for the catalog and in there you can find i.e. the "optimize" button where you can delete all stuff from empty dir. And there is also a big list of directories where you can delete those not used any longer. This should get the size a little smaller.

Re: Limit the Size of Thumb.db and XnView.db

Posted: Tue Jan 24, 2023 5:36 pm
by TommyD
That means the folders "Catalog maintenance" are the sources of the thumbnails saved in Thumb.db? Even when the folder doesn't exist anymore the thumbs will be kept in thumb.db?

When i delete a folder from list xnviewmp is deleting the thumbs from *.db?

There is an option "Maximum size for cached thumbnails". Is this the option 'm searching for? When happened when the max size is arrived? is the first thumb stored in the db deleted?

Re: Limit the Size of Thumb.db and XnView.db

Posted: Wed Jan 25, 2023 6:49 pm
by MartinP
Well I can't answer your quetion, sorry.
I do optimize the DB from time to time, which keeps it at a certain size - works for me. I'm not aware of an automtic size regulation.