<div dir="ltr"><div class="gmail_extra">Just for a reminder:</div><div class="gmail_extra"><br></div><div class="gmail_extra">







<p class=""><span class="">[case A of {driver_alloc,_} -> Calls = proplists:get_value(calls,I), {_,_,M} = lists:keyfind(driver_alloc,1,Calls),{_,_,F} = lists:keyfind(driver_free,1,Calls), io:format("~p ~p\n", [A, M-F]); _ -> ok end|| {A,I} <- recon_alloc:allocators()].</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">shows something like:</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">{driver_alloc,0} 125581808</span></p><p class=""><span class="">{driver_alloc,1} 313</span></p><p class=""><span class="">{driver_alloc,2} 280</span></p><p class=""><span class="">{driver_alloc,3} 131</span></p><p class=""><span class="">{driver_alloc,4} -52</span></p><p class=""><span class="">












</span></p><p class=""><span class="">{driver_alloc,5} -152</span></p><p class=""><span class="">...</span></p><p class=""><span class=""><br></span></p><p class=""><span class=""><br></span></p><p class="">Now need only to find out, who is mallocing without free</p></div></div>