Page 1 of 2

Error 6 while creating thumbnails with lots of directories

Posted: 13 Dec 2022 17:38
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?

Re: Error 6 while creating thumbnails with lots of directories

Posted: 13 Dec 2022 18:34
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.

Re: Error 6 while creating thumbnails with lots of directories

Posted: 13 Dec 2022 18:37
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

Re: Error 6 while creating thumbnails with lots of directories

Posted: 13 Dec 2022 18:48
by admin
You are showing 48130 thumbs at the same time... you need a bit of organization...

Re: Error 6 while creating thumbnails with lots of directories

Posted: 13 Dec 2022 19:04
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.

Re: Error 6 while creating thumbnails with lots of directories

Posted: 13 Dec 2022 19:07
by admin
No, Windows is too complex to make such a prediction. You will have to find out the hard way.

Re: Error 6 while creating thumbnails with lots of directories

Posted: 14 Dec 2022 00:00
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)?

Re: Error 6 while creating thumbnails with lots of directories

Posted: 14 Dec 2022 09:50
by admin
Good point! :appl:

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

Re: Error 6 while creating thumbnails with lots of directories

Posted: 14 Dec 2022 13:42
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.

Re: Error 6 while creating thumbnails with lots of directories

Posted: 14 Dec 2022 16:12
by admin
Thanks! Check out the latest beta: viewtopic.php?p=205563#p205563
It should be fixed.

Re: Error 6 while creating thumbnails with lots of directories

Posted: 14 Dec 2022 18:08
by jleeca
I just verified that the beta build addressed the reported issue. Thank you for the amazing support!!!

Re: Error 6 while creating thumbnails with lots of directories

Posted: 15 Dec 2022 20:47
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.

Re: Error 6 while creating thumbnails with lots of directories

Posted: 15 Dec 2022 20:52
by admin
I still have to be able to reproduce it. And I still cannot.

Re: Error 6 while creating thumbnails with lots of directories

Posted: 15 Dec 2022 20:56
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.

Re: Error 6 while creating thumbnails with lots of directories

Posted: 15 Dec 2022 21:16
by admin
Is it with a particular video maybe, or video type?