AW: [ejabberd] ejabberd vs Jabber XCP

Joel Reymont joelr1 at gmail.com
Fri May 5 14:57:38 MSD 2006


On May 5, 2006, at 11:48 AM, Pieter Rautenbach wrote:

> USER     PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> ejabberd 16   0 5344m 3.2g 1532 D  7.8 83.6  1363:02  beam

As pointed out by Mickael each character is, basically, 2 words since  
lists are built out of cons cells. So that's 16 bytes per character  
on a 64-bit machine. Mamma mia!

Compress using list_to_binary/1 whenever you can.

--
http://wagerlabs.com/







More information about the ejabberd mailing list