ERROR: OutOfMemoryError()

I’m trying to ask what you are intending this code to do.