[erlang-questions] Memory usage by Mnesia growing to fast and it seems very strange

Dmitriy Gorbenko <>
Mon Dec 17 13:39:54 CET 2007


Hi all.

Well, I have two .erl files, which makes Mnesia allocating a lot of
memory and vary fast.

What they are doing ? First file wrote to Mnesia table some values, and
then into loop tries to read this value.
Second file only writes to mnesia table in loop, and nothing else.

You can find in this two test ties to use flags like "fullsweep_after",
but they also did not help - memory continue constantly growing.


So, If anyone knows why those test produces so much memory usage, please
- reply me.


Inside the files, you can find small readme, how to run them.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: match_test.erl
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071217/e938eb9f/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: write_test.erl
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071217/e938eb9f/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2244 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071217/e938eb9f/attachment.bin>


More information about the erlang-questions mailing list