Page 1 of 1

XYcopy run-time error 14

Posted: 09 Apr 2022 22:49
by o7blue
So this happened when moving a large folder (F:/large) into a new folder (F:/new) so the end result should be F:/new/large. F is a network location mounted via SMB.
Capture.PNG
Capture.PNG (13.33 KiB) Viewed 3735 times
The unprocessed files still sit in the old location, so the move did not complete after the error popped up.

Re: XYcopy run-time error 14

Posted: 20 Apr 2022 13:30
by admin
Interesting, an uncaught error that needs to be handled more gracefully. You probably encountered a physical limitation there with the number of files moved. How many was it?

Re: XYcopy run-time error 14

Posted: 20 Apr 2022 13:32
by highend
It's in the screenshot :cup:

Re: XYcopy run-time error 14

Posted: 20 Apr 2022 13:40
by admin
Damn, I need the facepalm icon... :oops:

Re: XYcopy run-time error 14

Posted: 20 Apr 2022 13:43
by admin
Okay, I assume this issue is caused by the growing amount of report data and/or undo data. The problem itself can't be fixed, but probably the file operation should take precedence over the report/undo, so the latter should just be thrown away when running out of memory.

Re: XYcopy run-time error 14

Posted: 20 Apr 2022 13:56
by admin
PS: Since you apparently moved just one large folder, it can't be the undo data, so it must be the report data.

Re: XYcopy run-time error 14

Posted: 20 May 2022 01:39
by o7blue
This seems related, happened when copying a relatively large folder:
Capture.PNG
Capture.PNG (41.16 KiB) Viewed 3151 times
Is there a way to mitigate this? Let XY use more memory or something?

Re: XYcopy run-time error 14

Posted: 20 May 2022 08:18
by admin
Which XY version is that?

Re: XYcopy run-time error 14

Posted: 20 May 2022 17:59
by o7blue
It's 23.00.0100, did you make some changes in a newer version?

Re: XYcopy run-time error 14

Posted: 24 May 2022 12:39
by admin
Yes, please try the latest version 23.10.0000.

Re: XYcopy run-time error 14

Posted: 29 May 2022 03:33
by o7blue
Here's an update:
Capture.PNG
Capture.PNG (53.5 KiB) Viewed 2925 times
So it looks like the copy operation gave up after reaching 2.61TB, however the folder was a little over 5TB. But the size seems less important the the file count. So far through anecdotal evidence it looks like it's safe to copy up to 500k files, maybe up to a million.

Also I swear I have windows 10, no idea why it's saying 8.1 there :eh:
Oh, and this was done on 23.10

Re: XYcopy run-time error 14

Posted: 29 May 2022 09:33
by admin
It's not the bytes, it's the number of files. The way it is written now, there is a limit to this. 3 million files, come on...

Concerning the Windows version, please show echo <get os>;.

Re: XYcopy run-time error 14

Posted: 29 May 2022 22:49
by o7blue
Thanks for confirming it's the file count that's the limit. Would it be difficult to increase or remote the limit? Seems I'll have to use windows explorer for backup operations.

EDIT: actually, it's a pain in the ass to use windows explorer for backups :lol: Unlike XY it breaks when copying files that have a path over 260 characters, and I have a lot of those
Capture.PNG
Capture.PNG (21.26 KiB) Viewed 2875 times

Re: XYcopy run-time error 14

Posted: 30 May 2022 08:51
by admin
The limit is physical. Cannot raise it. The strategy is to split the job into parts. Until XY does it you can and have to do it yourself.

Re: XYcopy run-time error 14

Posted: 31 May 2022 02:40
by o7blue
Thanks for considering a solution to this, I'll keep an eye on the changelog for if/when it gets implemented. I'll continue to manually split my file operations into smaller chunks in the meantime.