Memory usage of a toy C# server and client with 500K concurrent connections on
In our last episode, we measured the memory overhead of the simplest possible . Default threadpool settings, which appear to use 10-12 actual threads for the client, on my dual core Pentium Unix stream sockets to make it simple (TCP is just annoying, even on loopback) Per client overhead (C# server process only, not including kernel): 2000-2400 bytes RSS, 2400 bytes VSS Also, the client process has a very similar memory usage profile as the server process. It’s likely that the memory overhead of the language / runtime is going to be small compared to your application-specific data.
Source: github.com