On Monday, 23 May 2016 at 14:16:13 UTC, Jack Stouffer wrote:
Sounds like a data race problem. Use a lock on the file write operation and see if that helps.

Like this?:

    synchronized(mutex) copy(source,dest);

That didn't solve anything.
What I observe is: when the process is slower, more files are copied.

Reply via email to