Mitigated Serial Monitor resource exhaustion

Fixes #2233

Tested on a Dual-core 1.8Ghz Linux 64bit system with 4GB of RAM: the Serial Monitor performance are dramatically improved.

/cc @PaulStoffregen @willie68 @xxxajk @ffissore