With Options, Browser, Thumbnails, Enable Caching turned on, removing multiple images from categories goes very, very slowly. With Caching turned off, the operation is a bit slow, but much, much faster than with caching enabled.
I cannot be sure, of course, but I believe that there are two problems:
1. When removing multiple selected images, XnView seems to remove one image, then refresh the entire category view, then remove one image, etc. This process is somewhat slow.
2. With caching enabled, XnView seems to re-read all the thumbnails from the cache every time the view is refreshed. This process is very, very slow.
When caching is enabled, using the Windows Task Manager, I see the "I/O Read Bytes" column increase by hundreds of megabytes for every image removed.
I believe that this problem would be fixed by waiting to refresh the current view until all selected images have been removed from the category, and / or reducing the redundant cache reading.
Thanks for making and improving XnView!
Details:
XnView Version: 1.90.3
OS: Windows XP SP2
Filesystem: NTFS
XnView.db size: 100MB
Thumbnail size: 192x144
Thumbnail cache format: High-Quality JPEG
Remove from Category very slow with thumbnail cache enabled
Moderators: helmut, XnTriq, xnview
There is a closely related problem I have noticed in relation to thumbnail caching: With thumbnail caching enabled, when I click on a category or file folder with a lot of images in it, I have to wait for all the thumbnails to load from the cache before any of the thumbnails are displayed.
With thumbnail caching disabled, the first few thumbnails show right away and I can use the browser while XnView continues to generate thumbnails in the background.
This makes browsing folders and categories with thumbnail caching on slower than when it is off, defeating the purpose of the feature.
It seems to me that XnView should show cached thumbnails as soon as they are loaded, the same way it does when generating thumbnails on the fly.
Thanks!
With thumbnail caching disabled, the first few thumbnails show right away and I can use the browser while XnView continues to generate thumbnails in the background.
This makes browsing folders and categories with thumbnail caching on slower than when it is off, defeating the purpose of the feature.
It seems to me that XnView should show cached thumbnails as soon as they are loaded, the same way it does when generating thumbnails on the fly.
Thanks!
Re: Remove from Category very slow with thumbnail cache enab
Strange, i don't update before removing all files from cache and categories.Mooninaut wrote: 1. When removing multiple selected images, XnView seems to remove one image, then refresh the entire category view, then remove one image, etc. This process is somewhat slow.
2. With caching enabled, XnView seems to re-read all the thumbnails from the cache every time the view is refreshed. This process is very, very slow.
I'll check...
Pierre.