[erlang-questions] VM ends with 'killed'

Evans, Matthew <>
Mon Mar 14 14:28:35 CET 2011


Are you running with heart?

If so you may want to do your test with heart disabled. I've seen that when heart is enabled it often stops the crash dump from getting generated.

>From experience though, my guess would be a memory leak in one or more processes.

Matt

-----Original Message-----
From:  [mailto:] On Behalf Of Gordon Guthrie
Sent: Monday, March 14, 2011 4:32 AM
To: erlang-questions Questions
Subject: [erlang-questions] VM ends with 'killed'

Folks

I have been trying to resolve some run time issues. We are running a
big data load and the VM was crashing due to memory running out.

The first issue was a runaway message queue - so we put in a limiter
that checked that processes message queue and waited til it cleared if
there was overload.

The problem moved to another process whose heap would grow and grow.
Adding a check on the heap size and forced garbage collect appeared to
be the answer.

But now when I run the load, after adding most of the data the VM
suddenly ends with the stark message:
Killed
[End]

There is no crash dump. What do I do now? Where do I start debugging this?

Gordon

-- 
Gordon Guthrie
CEO hypernumbers

http://hypernumbers.com
t: hypernumbers
+44 7776 251669

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:



More information about the erlang-questions mailing list