in reply to modification of the script to consume less memory with higher speed
Please provide an estimate or your files' sizes. Right now you appear to store each file twice in memory, you could at least reduce this to only once, and this might be sufficient to get rid of the problem.
|
|---|