Hello,<br><br>I am attempting to find the size occupied in memory by each row of a mnesia table.<br><br>The table is of types ram_copies.<br><br>I am doing the following:<br><br>[A] = mnesia:dirty_read(Table_name, Key)<br>
Size_A = erts_debug:flat_size(A)<br> <br>( I read about  the erts_debug function from <a href="http://www.erlang.org/doc/efficiency_guide/processes.html#id68532">http://www.erlang.org/doc/efficiency_guide/processes.html#id68532</a> )<br>
<br>I was wondering if this is the correct approach or is there another method that I should be applying here ? <br><br><br>Thank you for any suggestions/corrections,<br><br>Devangana<br><br><br>