Tue Sep 29 18:11:57 CEST 2009
Hi, I am trying to store a large list of items and am a little surprised how much memory erlang is using. As a test, I tried creating a list of 10M integers and measuring memory usage. It takes around 600M. If I convert this list to a binary using term_to_binary, it is only about 50M, which is more like what I would expect. So I am wondering why there is 10x memory usage in the usual form? One other small oddity, it seems after calling garbage_collect I am using more memory.
Eshell V5.7.2 (abort with ^G)
More information about the erlang-questions