[erlang-questions] discrepancy of memory usage figures
Andy W. Song
Thu Jun 23 05:39:50 CEST 2011
When I run my WebSocket test, I found the following interesting memory usage
1. Server stated, no connection
2. 100K Connections
*System: 1814M, *
*Erlang Residence: 950M*
3. 200K Connections ( restart server and create from 0 connection, not
continue from case 2)
The figures in red are provided htop, others are output of memory() call
from erlang shell. Please look at the total and erlang residence memory.
When there is no connection, these two are roughly same, with 100K
connections, residence memory is a little larger than total, with 200K
connections, residence memory is almost double the total.
Can anybody explain?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions