Error 6 while creating thumbnails with lots of directories

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
jleeca
Posts: 19
Joined: 17 Feb 2017 05:17

Error 6 while creating thumbnails with lots of directories

Post by jleeca »

I have 49,303 directories in a single folder and there's a couple of jpg files in each folders. With "Show folder thumbnails" setting enabled, when I try to generate thumbnails (#507), Only 48,188 thumbnails get generated successfully and then the following error start get displayed for the rest of directories;
Error: 6 (0x00000006)
Desc: Overflow
Dll: 0
Proc: StoreThumb - idxThumb: 48131, Size Buffer: 74,968,500, StartPos: 0

Source: XYplorer
XY ver: XYplorer 23.80.0200
OS: Windows 10 Pro, 64-bit, Version 22H2, Build 19045.2251 (10.0)
Locale: 1033 (en-US)
ANSI: 1252, ACP: 1252 (ANSI - Latin I)
Font: Segoe UI 9.75, Segoe UI 9, DBCS: No
DPI: 96 (100%), 1440x2560

Date: 2022-12-13 11:30:41
Another error
Proc: StoreThumb - idxThumb: 48130, Size Buffer: 8,589,835,436, StartPos: 0
Once all error popup messages are closed and then if I restart XYplorer no thumbnails are displayed as if thumbnails are never generated.
Is this a bug which can be fixed or the limitation (e.g. .dbits file size) of XYplorer?
Last edited by jleeca on 13 Dec 2022 18:35, edited 1 time in total.

admin
Site Admin
Posts: 67229
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error 6 while creating thumbnails with lots of directories

Post by admin »

It's a limitation of the world we live in. You just hit the wall of available memory space. You have to somehow split the job into sub jobs.

jleeca
Posts: 19
Joined: 17 Feb 2017 05:17

Re: Error 6 while creating thumbnails with lots of directories

Post by jleeca »

What about this one? It happens only when I tried to refresh one selected thumbnail?
Proc: StoreThumb - idxThumb: 48130, Size Buffer: 8,589,835,436, StartPos: 0

admin
Site Admin
Posts: 67229
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error 6 while creating thumbnails with lots of directories

Post by admin »

You are showing 48130 thumbs at the same time... you need a bit of organization...

jleeca
Posts: 19
Joined: 17 Feb 2017 05:17

Re: Error 6 while creating thumbnails with lots of directories

Post by jleeca »

Is there a certain limit of, fox example, maximum number of files/directories in a single directory or max size of .dbits file size?

As this directory is a part of much larger folder structure, I want to keep the current organization if it can be supported by XYplorer.

admin
Site Admin
Posts: 67229
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error 6 while creating thumbnails with lots of directories

Post by admin »

No, Windows is too complex to make such a prediction. You will have to find out the hard way.

jleeca
Posts: 19
Joined: 17 Feb 2017 05:17

Re: Error 6 while creating thumbnails with lots of directories

Post by jleeca »

You just hit the wall of available memory space
I tried again after doubling the system memory (16GB to 32GB) but I still get the same error so this doesn't look like system memory issue.
Error: 6 (0x00000006)
Desc: Overflow
Isn't this rather an error or limitation in a code rather than a system limitation (https://learn.microsoft.com/en-us/offic ... ow-error-6)?

admin
Site Admin
Posts: 67229
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error 6 while creating thumbnails with lots of directories

Post by admin »

Good point! :appl:

There is hope, I'm going to work on this bug... :twisted:

jleeca
Posts: 19
Joined: 17 Feb 2017 05:17

Re: Error 6 while creating thumbnails with lots of directories

Post by jleeca »

There is hope, I'm going to work on this bug... :twisted:
Please let me know if you want me to test a beta version or need more info.

admin
Site Admin
Posts: 67229
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error 6 while creating thumbnails with lots of directories

Post by admin »

Thanks! Check out the latest beta: viewtopic.php?p=205563#p205563
It should be fixed.

jleeca
Posts: 19
Joined: 17 Feb 2017 05:17

Re: Error 6 while creating thumbnails with lots of directories

Post by jleeca »

I just verified that the beta build addressed the reported issue. Thank you for the amazing support!!!

zakoul
Posts: 156
Joined: 11 Dec 2019 10:44

Re: Error 6 while creating thumbnails with lots of directories

Post by zakoul »

Maybe it will be possible to eliminate this problem as well? viewtopic.php?t=24984
In XYplorer 23.80.0300, this error 6 is still relevant.
Windows 11 25H2, 100%

admin
Site Admin
Posts: 67229
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error 6 while creating thumbnails with lots of directories

Post by admin »

I still have to be able to reproduce it. And I still cannot.

zakoul
Posts: 156
Joined: 11 Dec 2019 10:44

Re: Error 6 while creating thumbnails with lots of directories

Post by zakoul »

Error 6 appears only when "Show dimensions of original" and "For videos as well" are enabled, and after clearing the system thumbnail cache and clearing the thumbnail cache in XYplorer.
If the dimensions display for the video is disabled, then there is no error.
Windows 11 25H2, 100%

admin
Site Admin
Posts: 67229
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error 6 while creating thumbnails with lots of directories

Post by admin »

Is it with a particular video maybe, or video type?

Post Reply