[erlang-questions] eheap_alloc crash when using mnesia

Yongbeom Pak ruzin82@REDACTED
Thu Oct 23 08:58:13 CEST 2008

Thanks for all comments, i did not have proper solution than reducing the
amount of the data that is processing on the selecting queries.
Thanks again.

2008/10/22 Matthew Dempsky <matthew@REDACTED>

> On Wed, Oct 22, 2008 at 1:33 AM, Robert Raschke <rtrlists@REDACTED>
> wrote:
> > Are you sure that uses plain old memory allocation for its cache
> > entries (I haven't looked, I must admit)?
> Yes, I chose dnscache as a concrete example because it's a server
> whose internals I'm thoroughly familiar with. :-)
> dnscache allocates a big chunk of memory (1000000 bytes by default) up
> front for cache storage, but while processing requests, it allocates
> additional memory for temporary storage for names relevant to the
> resolution process.
> E.g., if a cache receives a query for "www.erlang.org", it allocate 16
> bytes to store that name.  While resolving this query, it also
> allocates temporary space for "a.root-servers.net",
> "d0.org.afilias-nst.org", "ns.erlang.org", and so on.  Names are
> promptly freed as soon as they are no longer needed, but if allocating
> space for one of these names fails, then dnscache gives up on
> resolving "www.erlang.org" and the user tries again later.
>  _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081023/98daae00/attachment.htm>

More information about the erlang-questions mailing list