In my tests I was using some default parameters. I put StackSize in ns/threads to your value and the problem has gone.
Thanks, Agustin