[erlang-questions] Tuple memory size

tsuraan <>
Tue Feb 24 17:54:04 CET 2009


> The latter.

As a follow-up, is there a function that can be called to determine
the amount of memory that is copied when sending a complex non-binary
structure as a message between processes?  I've been using
size(term_to_binary(Data)), which I think at least puts an upper bound
on the size.  Is there a more accurate (i.e. correct) built-in
function that finds the size of a data structure?



More information about the erlang-questions mailing list