Same string getting rewriten every second, RAM usage issue?

Yet, you don't show the actual code...