you need 65535 stacks, 65535 strings with the address, 65535 sockets … is not surprising the consumption will go up, depending on how long each goroutine live… the waitgroup is not expensive
Ok, but 400 MB???
Add the overhead from actually opening sockets
As per the sockets, it shouldn’t be that big
Utterly depends :P
Possibly
Обсуждают сегодня