Yeah. I was aware of this big memory usage. I just wanted to stress it to see if it was buffer length problems
Thanks for info about flush().
I hope it is something with the parameters you said.
I will try the modifications you said and let you know what I get.