New
#11
Whatever you're using to "clean up" memory is actually not doing what you think and most likely making things worse.
You are on the correct path now with trying to find the cause of the problem to being with.
And Chev65's suggestion was very accurate and on point regardless if it turned out to be the cause or not.