Replace SSHTransport read loop with something that doesn't do String += String. This is a much more efficient way to read data from the network.