[erlang-questions] Preallocated binary — save memory

Max Lapshin <>
Wed Apr 10 10:58:45 CEST 2013


I don't exactly understand, how to enable it.

I want to find the way to hint BEAM that I'm going to fill 2 megabyte
binary with small chunks of 1 to 184 bytes and I can predict size of this
binary.

Should I write in beam assembly for it? =))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130410/c4731a74/attachment.html>


More information about the erlang-questions mailing list