[erlang-questions] mnesia clear_table() bug ?

KukHyun Lee <>
Fri Sep 9 20:28:19 CEST 2011


Hi.
This is disc_only_copies table.

Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:4:4] [rq:4]
[async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.8.4  (abort with ^G)
...

()103> mnesia:table_info(table, size).
151944
()104> mnesia:table_info(table, memory).
16295224
()105> mnesia:clear_table(table).
{atomic,ok}
()106> mnesia:table_info(table, size).
0
()107> mnesia:table_info(table, memory).
16295224

Why did not changed table's memory? Is this a bug?
How can i set a table to zero memory.

Thanks,
KukHyun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110910/16cd60a6/attachment.html>


More information about the erlang-questions mailing list