CPU and Ram at limit with simple program

Hey there, thanks for your question. Take a look at the solution in this post and see if that does the trick!