Page 1 of 2

XYCopy: RTE 14 - Out of String Space

Posted: 23 Jun 2015 18:58
by Borut
XYCopy: RTE 14 - Out of String Space... Occurred while creating a report about files that were not successfully custom copied.

My copy task was a very special one and lots of files were expected to fail because of a known issue with folder creation on the destination NAS. However, I needed this list and intended to recheck it half automatically later on.

The most of the time no one needs these reports. But at such very special occasions when they are needed, their generation must not fail.

Sorry, the active language while taking a screen shot was Croatian...
XY_OutOfStringSpace.jpg

Re: Out of String Space RTE...

Posted: 24 Jun 2015 07:52
by admin
How many files had failed?

Re: Out of String Space RTE...

Posted: 24 Jun 2015 08:06
by Borut
144132

And also, I would find it nice-to-have if a Copy button would be on the report list dialogue.

Maybe a viable possibility would be to ask first if one would like to save them in a file (then they can be viewed in an editor), or to get them presented in the list first (as is now the case).

Re: Out of String Space RTE...

Posted: 24 Jun 2015 09:35
by admin
Yes, I make a note for later.

The Copy button is there, but only in foreground processing. XYcopy does not have this functionality.

Re: XYCopy: RTE 14 - Out of String Space

Posted: 25 Jun 2015 10:39
by PeterH
edit to add: I'm talking about Backup command - I assume it's the same?
-------------

I think this relates to this thread?

Code: Select all

v15.40.0006 - 2015-06-25 09:30
    * Custom Copy: Experimentally log data are created only for jobs with 25,000
      or less files now. Reason: The log data might be too heavy on the string
      memory in some contexts.
Hm - I have save-job's up to currently 43.000 files, and love to store the log with them.
And never had that problem...

So you might upper that limit a bit? Or make it optional/modifyable?
Or write it (in blocks of 1000 lines or so) to disk instead of memory?

Re: XYCopy: RTE 14 - Out of String Space

Posted: 25 Jun 2015 11:44
by admin
Sure, same here. It's just for debugging. I'm pretty sure this error was a Windows issue and will disappear after reboot.
PeterH wrote:So you might upper that limit a bit? Or make it optional/modifyable?
Or write it (in blocks of 1000 lines or so) to disk instead of memory?
Yes, these are the options if my theory fails.

Re: XYCopy: RTE 14 - Out of String Space

Posted: 25 Jun 2015 12:38
by Borut
Under these circumstances (.0075) I have to look after another tool for mass-copying files, because I can not know in advance if any log will be available when things go wrong. (And because of the RTE480 I maybe need to reboot before using XYcopy for such mass-copying tasks, in order for a copy process to come to a normal end. In times when one needs such very special mass copy tasks, one is perhaps already in a kind of an alert situation. Not being able to count 100% on the tool being used is not a good feeling.)

Is there any tool that tries to continue copying files even after some destination error occurs (skipping those whose copying failed) and makes a decent log at the same time? Is this perhaps easily achievable with a Robocopy?

Re: XYCopy: RTE 14 - Out of String Space

Posted: 25 Jun 2015 12:40
by Marco
Robocopy for sure. Here's the list of switches, http://ss64.com/nt/robocopy.html

Re: XYCopy: RTE 14 - Out of String Space

Posted: 25 Jun 2015 13:18
by Borut
Many thanks Marco! Robocopy will probably be a life saver for me. With a bit of scripting it could become a nice solution for these special situations.

Re: XYCopy: RTE 14 - Out of String Space

Posted: 25 Jun 2015 13:52
by admin
Borut wrote:Under these circumstances (.0075) ...
I added this just for debugging.

1) Reboot Windows
2) Try again with .0074
3) If error comes again, try with .0075

Let me know the results. Thanks.

Re: XYCopy: RTE 14 - Out of String Space

Posted: 25 Jun 2015 17:11
by admin
Made some tests. No problems.

Tested copying 416,554 files (16.09 GB) in the foreground and in the background (XYcopy). All 100% smooth.
XYcopy400000.png
Also the report with more than 416,554 lines was shown in an instant without any problems:
XYcopy400000Report.png
Anyway, the next version will have something new, a "tweak borut"... :biggrin:

Re: XYCopy: RTE 14 - Out of String Space

Posted: 25 Jun 2015 17:29
by Papoulka
@borut - to address your question about copy utils:

I have for years used FastCopy for all big transfers, and stay with it because I'm familiar with its interface etc. FC is bullet-proof in my experience.

Be careful with RoboCopy - I found that it fragmented the transferred files terribly (I'm assuming you're using mechanical drives). I gave up on Teracopy as having too many bugs and poor support even for the Pro version.

My 2 cents.

Re: XYCopy: RTE 14 - Out of String Space

Posted: 25 Jun 2015 17:39
by TheQwerty
Keep in mind that you can also configure XY to use FastCopy or TeraCopy as an external copy handler.
http://www.xyplorer.com/release_13.50.php

(Though note, I personally have no experience doing this. ;) )

EDIT: Though really if the external program will accept a list of files then XY can likely be made to work with it as a handler as well.

Re: XYCopy: RTE 14 - Out of String Space

Posted: 25 Jun 2015 22:29
by Borut
Thanks to all.

Don, I am currently under heavy time pressure. Since the copy task whose report had shown this problem actually finished correctly yesterday (well, that is a kind of assumption, which I have to check a bit) I would rather not try to run this test again. Maybe in several weeks or so, under better circumstances.

Others, yes FC is a good one and I have a button and a script which integrate it (in a very basic way) with XY via drag&drop. (I haven't used them for a long time, so I even removed the button some time ago.)

However, I played a bit with Robocopy and also prepared a button and a very basic script. Robocopy is very appealing to me and I intend to test it more on my actual task. It remains to be seen how this will work with a NAS as a target (Samba involved, I guess...).

@Papoulka:
I wonder how Robocopy my influence the fragmentation of copied files, even under Windows and NTFS. I imagined that it just uses system API. My particular destination in this whole (long and hairy) story is in effect an Ext4 RAID 5, accessed via Samba, I believe.

So, this is the current situation at my place.

Re: XYCopy: RTE 14 - Out of String Space

Posted: 26 Jun 2015 09:23
by Borut
@Marco

Ancora mille grazie!! This was my overnight Robocopy "test" - went smoothly and as expected (those skipped are per Definition):

Code: Select all

                Total    Copied   Skipped  Mismatch    FAILED
     Dirs :     15888     11254      4634         0         0
    Files :    151830    151830         0         0         0
    Bytes : 298.697 g 298.697 g         0         0         0