[erlang-questions] calculating memory consumption

Jevin Xu jevin.xu@REDACTED
Fri Jan 22 06:28:14 CET 2010


 Hi,

How to calculate the memory consumption by below record in a 64-bit machine:

-record(aaa ,       {bb   :: 0..16#fff,        % 3 * 4bit BCD
                          cc   :: 0..16#fff,        % 3 * 4bit BCD
                          dd   :: 0..16#ffff,       % 16bit
                          ee   :: 0..16#ff}).       % 8bit

Thanks

________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html erlang-questions (at) erlang.org



More information about the erlang-questions mailing list