<div dir="ltr">Correct, however just after this call the process gets hibernated so Data (I assume) is getting gc'ed right away).<div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 23, 2015 at 7:14 AM, Dan Gudmundsson <span dir="ltr"><<a href="mailto:dangud@gmail.com" target="_blank">dangud@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><br><div>Binary copy makes a new copy of the binary regardless of size, but it is only useful on ref-c binaries,</div><div>and should be used to avoid keeping references to large binaries, when you keep and use a small part </div><div>of the original binary. But in this case you make a copy of Data (-2 bytes) and thus will double up the memory until Data is gc'ed and refc reaches zero. So I do not see the point of the above nor of making it a list which will</div><div>only explode your memory even more.</div><div><br></div></div></div></div></blockquote></div></div></div></div>