[ejabberd] eheap memory allocation crashes

Andre Pang ozone at algorithm.com.au
Thu May 25 05:00:42 MSD 2006


On 25/05/2006, at 10:55 AM, Matthew Reilly wrote:

> Andre Pang wrote:
>> Hi all,
>>
>> I'm getting crashes with ejabberd/Erlang with the following error  
>> message:
>>
>>   Slogan: eheap_alloc: Cannot allocate 153052320 bytes of memory  
>> (of type "heap").
>> [..]
>
> Are any of your Mnesia file large (ls -l Mnesia*)?
>
> We seen a problem where we get a mem heap problem when reading too  
> large of a dets file (used by Mnesia for disk based tables).

Nope, our Mnesia files aren't that big at all:

% ls -lh
-rw-rw-r--  1 root root  236 May 25 10:43 DECISION_TAB.LOG
-rw-rw-r--  1 root root  106 May 25 10:43 LATEST.LOG
-rw-rw-r--  1 root root  423 May 25 09:28 acl.DCD
-rw-rw-r--  1 root root  556 May 25 09:31 acl.DCL
-rw-rw-r--  1 root root 1.1K May 25 09:28 config.DCD
-rw-rw-r--  1 root root 1.7K May 25 09:31 config.DCL
-rw-rw-r--  1 root root 5.7K May 20 11:10 disco_publish.DAT
-rw-rw-r--  1 root root  11K May 25 01:33 last_activity.DCD
-rw-rw-r--  1 root root 1.8K May 25 09:46 last_activity.DCL
-rw-rw-r--  1 root root  944 May 25 09:13 local_config.DCD
-rw-rw-r--  1 root root 1.3K May 25 09:16 local_config.DCL
-rw-rw-r--  1 root root    8 May 20 11:07 muc_registered.DCD
-rw-rw-r--  1 root root    8 May 20 11:07 muc_room.DCD
-rw-rw-r--  1 root root  28K May 23 15:46 passwd.DCD
-rw-rw-r--  1 root root 3.0K May 24 21:01 passwd.DCL
-rw-rw-r--  1 root root 132K May 25 10:47 pubsub_node.DAT
-rw-rw-r--  1 root root  33K May 25 10:47 pubsub_node_3.DAT
-rw-rw-r--  1 root root    8 May 20 11:07 roster.DCD
-rw-rw-r--  1 root root  28K May 25 09:28 schema.DAT
-rw-rw-r--  1 root root 441K May 24 21:04 vcard.DAT
-rw-rw-r--  1 root root  81K May 24 05:52 vcard_search.DCD
-rw-rw-r--  1 root root 8.9K May 24 21:01 vcard_search.DCL


-- 
% Andre Pang : trust.in.love.to.save  <http://www.algorithm.com.au/>





More information about the ejabberd mailing list