Mnesia adding 1,000,000 records, core dump

Casper casper2000a@REDACTED
Mon Dec 20 09:26:24 CET 2004


Hi all,

I'm trying to load test a Mnesia database. Attached are header and erlang
files I used to do the test. Below are the commands I ran (start erlang with
mnesia directory).

mnesia:start().
loadtest:init().
loadtest:init_counters().
loadtest:add_dummy_data(1000000).

Once I do that, the shell goes adding new entries and after some time prints
"Abnormal error" and hangs for ever. If I only tries to add about 100,000
records, it works without any problems.

If you need the erl_crash.dump file, I can send. It's about 19MB (8MB
compressd).

What could be there error?

Thanks in advance!
Eranga
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loadtest.hrl
Type: application/octet-stream
Size: 317 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20041220/3e915898/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loadtest.erl
Type: application/octet-stream
Size: 3134 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20041220/3e915898/attachment-0001.obj>


More information about the erlang-questions mailing list