Timeout and overflow of arduino

You don't have A String. You have 48 of them. Plus 62 of them.

In the code you posted, you don't need ANY of them.