StringBuilder work and adding memory usage utility