SyntaxFix
Write A Post
Hire A Developer
Questions
In my case, the cause for this error was one of the arrays was becoming very big. I've set my script to reset the array on every iteration and that sorted the problem.