[erlang-questions] Re: net_kernel garbage collection

Michael Truog mjtruog@REDACTED
Thu Sep 24 19:56:35 CEST 2009


hibernate will help a little, to help remove references to some of the
data.  However, if you are processing lots of binary data you would need
a short lived process to free the data when the data is no longer needed.

Thijs wrote:
> Is Erlang's hibernate not an option for you? You could use
> erlang:hibernate() or if you decide to use a gen_server process,
> return hibernate instead of a timeout.
>
> http://erlang.org/doc/man/gen_server.html :
> "If hibernate is specified instead of a timeout value, the process
> will go into hibernation when waiting for the next message to arrive
> (by calling proc_lib:hibernate/3). "
>
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
>
>
>   



More information about the erlang-questions mailing list