[erlang-questions] mnesia memory leak?
Thu Jul 10 00:21:02 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
| I am working with mnesia in my app and after several hours of running
it seems that my memory usage has gone over 1 gig. At first I thought
this was a bug in my code that interfaces with mnesia, but upon looking
at my tables they are all reasonably small, however, ets:i() reveals
| 745 mnesia_transient_decision set 5940587 95901642
| upon googling around i found that this seems to be a known issue?
What is the proper way to deal with this? I also found the following
http://yanovsky.agenstvo.com/?p=31 <- he appears to have the same issue
i do, and provides easy test code to expose the issue.
sorry to reply to my own message but i thought seeing as how this want
documented anywhere i could see and to double check this is an
appropriate way to fix my problem.
that seems to clean up my memory problem. I guess I shouldn't have said
memory leak exactly, just seems mnesia doesn't want to free memory while
under load, and given that my app has constant load that isn't really an
option for me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the erlang-questions