<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Frank,</div><div><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="auto">The binary_alloc seems to be the one misbehaving (not 100% sure, see attached screenshot).<br></div></div></blockquote><div><br></div><div><div>I agree, it's your binary_alloc. How many single block carriers in binary_alloc do you have? What about multi-block carriers? Can you share a recon_alloc snapshot?</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="auto"></div><div dir="auto">Is there a way to tweak this allocator strategy SBC/MBC? Lukas Larsson maybe?<br></div></div></blockquote><div><br></div><div>For us, RabbitMQ, defaulting to a lower multi-block carrier size (<a href="http://erlang.org/doc/man/erts_alloc.html#M_lmbcs">+MBlmbcs</a>) as well as changing the allocation strategy (<a href="http://erlang.org/doc/man/erts_alloc.html#M_as">+MBas</a>) made a positive difference. From the screenshot that you've shared, I am guessing that this won't work for you. This is the process that we went through at RabbitMQ: <a href="https://groups.google.com/forum/#!msg/rabbitmq-users/LSYaac9frYw/LNZDZUlrBAAJ">https://groups.google.com/forum/#!msg/rabbitmq-users/LSYaac9frYw/LNZDZUlrBAAJ</a></div><div><br></div><div>I found Lukas' Erlang Memory Management Battle Stories from 2014 to be a great erts_alloc companion: <a href="http://www.erlang-factory.com/static/upload/media/139454517145429lukaslarsson.pdf">http://www.erlang-factory.com/static/upload/media/139454517145429lukaslarsson.pdf</a> & <a href="https://www.youtube.com/watch?v=nuCYL0X-8f4">https://www.youtube.com/watch?v=nuCYL0X-8f4</a></div></div></div></div></div></div></div>