Error reading BatchScript.OnError: Out of memory