[erlang-questions] mnesia clear_table() bug ?

KukHyun Lee kukhyun@REDACTED
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)
...

(db@REDACTED)103> mnesia:table_info(table, size).
151944
(db@REDACTED)104> mnesia:table_info(table, memory).
16295224
(db@REDACTED)105> mnesia:clear_table(table).
{atomic,ok}
(db@REDACTED)106> mnesia:table_info(table, size).
0
(db@REDACTED)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.htm>


More information about the erlang-questions mailing list