Page 1 of 1

Thumb regenerate

Posted: 03 May 2014 18:49
by binocular222
I have a folder with 7867 image files. I'm sure the thumbs are generate properly (statusbar said 7867 thumbs generated). However, whenever I revisit this folder, all the thumbs are generated from scratch (take very long time)

Re: Thumb regenerate

Posted: 04 May 2014 06:40
by outskirter
Have you tried the "Cache thumbnails to disk" option in the thumbnail configuration dialog? That eliminates the need for all the thumbs to be created from scratch each time you open the folder, except for new images or ones that have been modified.

Of course, the thumbnail cache can use up quite a bit of disk space, but it certainly saves time the next time you open the folder.

Re: Thumb regenerate

Posted: 04 May 2014 07:39
by binocular222
that option was already enabled

Re: Thumb regenerate

Posted: 05 May 2014 10:40
by admin
Hm, anything special about this folder?

Re: Thumb regenerate

Posted: 05 May 2014 11:17
by binocular222
Not much special:
- 7k files is large
- Mostly typical image files (jpeg, png, gif, url, txt, and a few mkv, avi)
- After statusbar said "7867 thumbs generated", only half which are displayed (1st half of the images files have thumbs shown, others have blank frame)
- I did not installed any external shell extension to handle thumbs/preview

Re: Thumb regenerate

Posted: 05 May 2014 11:24
by admin
Maybe some limit is reached. Can you check the size of the cache file (in Thumbs Cache folder) for this folder?

Re: Thumb regenerate

Posted: 05 May 2014 11:37
by binocular222
XYThumbs.txt shows no such folders
And there's no suspiciously large .dbits files either

Re: Thumb regenerate

Posted: 05 May 2014 15:28
by admin
binocular222 wrote:XYThumbs.txt shows no such folders
And there's no suspiciously large .dbits files either
Hmm, looks like the cache is never even written! Question is why? I will add an error message to the next beta...

Re: Thumb regenerate

Posted: 06 May 2014 04:25
by binocular222
v14.00.0101: After I generate those thumbs, only half of which are shown (as before), then I turn off thumb-view (switch back to Detail view) and get this error:

Code: Select all

Error:  	7 (0x00000007)
Desc:   	Out of memory
Dll:    	2
Proc:   	CacheWrite - Size: 224869188

Source: 	XYplorer
XY ver: 	XYplorer 14.00.0101
OS:     	Windows 7 Enterprise (Service Pack 1), 32-bit
Locale: 	1066
ANSI:   	1252
ACP:    	1258  (ANSI/OEM - Viet Nam)
DBCS:   	No
DPI:    	96 (100%)

Date:   	5/6/2014 9:23:47 AM

Re: Thumb regenerate

Posted: 06 May 2014 09:59
by admin
Ah, so we caught it! :twisted:

Interesting. So there is a limit. At that point you have got 214,45 MB of pure image data (pixels) in your thumbnails, and not enough free space for it (to handle it -- probably more than 214,45 MB) in your RAM.

Good that I know this. I will have to rewrite thumbnails from scratch to improve this. Later...

For now, you should do any of these:
1) Less files in that folder
2) Smaller thumbnails
3) Larger RAM

Re: Thumb regenerate

Posted: 06 May 2014 11:12
by binocular222
I have 3GB RAM, 69% is used, that means 930MB left. Should be able to handle 200+MB - right?
Anyway, having fewer files in that folder is ok

Re: Thumb regenerate

Posted: 06 May 2014 11:26
by admin
Yes, I know. This particular error is often a bit mysterious. Anyway, there are always ways to handle it. Later...