golang vnc connexion error - out of memory : i have vnc application wited in go, problem is after same time execution crash, with message out of memory. the complete log is here : https://ghostbin.com/paste/3wpcm

the complete code of client.go where exist this error is this : https://ghostbin.com/paste/bgn7s


does anyone know why this application is out of memory? my linux machine has 16gb ram memory.