[erlang-questions] Crash while using mnesia
Thu Aug 2 11:00:46 CEST 2012
I am an application that receives series of requests and stores in mnesia table for processing and once that is processed it is deleted from the table. I have done this so that I dont miss out any requests. so while starting the application each time, I process the pending requests before I process new requests.
It seemed to be running while for couple of days and after that it gets crashed. I could see from crash dump that enough memory was not allocated. But I could not identify where the memory is being used. because the mnesia db directory was hardly 10K including logs. Attached dump is the recent one (http://www.sendspace.com/file/w2b2tm).
So I just included a heart while starting up so that it erlang restart itself. But again caused a dump stopping the application without restarting. I am running erlang using a pipe.
Kindly help me to identify why these two issues happen.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions