[erlang-questions] Re: limited error_logger dump (vm crashes because of generating dump)

Gleb Peregud gleber.p@REDACTED
Mon Sep 20 15:34:11 CEST 2010


That's the reason, if it is possible, why I prefer to use private ets
for storing any big data structures in process's state.

On Mon, Sep 20, 2010 at 15:00, Max Lapshin <max.lapshin@REDACTED> wrote:
> On Mon, Sep 20, 2010 at 4:55 PM, Steve Vinoski <vinoski@REDACTED> wrote:
>>
>> Perhaps you could provide your own format_status function for your gen_server:
>>
>> http://erlang.org/doc/man/gen_server.html#Module:format_status-2
>>
>
> Steve, it is now enough. gen_server is also printing last message
> (that may be VERY large) and reason for stop. This reason may also
> involve current status, bypassing format_status. And this is also not
> the end: proc_lib sends error info to error_logger, including reason.
> And it is another way of leaking gen_server status.
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>


More information about the erlang-questions mailing list