[erlang-questions] Why Beam.smp crashes when memory is over?

Zoltan Lajos Kis kiszl@REDACTED
Mon Nov 9 08:35:53 CET 2009


Why don't you create a process, which regularly checks on the memory usage
of those processes, and kills them when they begin to eat up too much
memory?

Zoltan.

> Look, I have a program, that reads MPEG TS stream from network. There
> is some bug in my code
> and my ts_lander crashes beam. How is it possible to store state of
> external HTTP stream??
>
> If Erlang VM wouldn't crash, but only kill the leaking process, I
> could buffer stream in other process and feed
> new mpeg ts lander after restart. But it is impossible =(
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
>




More information about the erlang-questions mailing list