ejabberd - Comments for "Cannot allocate memory (of type &amp;quot;heap&amp;quot;)." https://www.ejabberd.im/node/3220 en Some random comments https://www.ejabberd.im/node/3220#comment-53633 <p>As I don't have a definite solution to your problem, I'll give you some random comments, in the hope that one of them helps you.</p> <div class="quote-msg"> <div class="quote-author"><em>firefox</em> wrote:</div> <p>after enabling the watchdog_admins, the following kinds of messages keep appearing: </p></div> <p>Yes, those message seem related to a table (Mnesia or ETS). Note that the watchdog feature has a prefixed threshold value that may not be proper for all possible servers: depending in the kind of usage, the threshold would report many warnings that are normal.</p> <div class="quote-msg"> <div class="quote-author"><em>firefox</em> wrote:</div> <p>The jabber server itself has 19,000 registered users, max 200 of them are online simultaneously. The above-mentioned messages appear sporadically even when only 50 users are online. </p></div> <div class="quote-msg"> <div class="quote-author"><em>firefox</em> wrote:</div> <p>Together with those writes to disk, approximately 500-800 MB of RAM (depends on circumstances) is being allocated. </p></div> <p>I know an ejabberd 2.0.0 server in a 32bit system with 400 concurrent users consume 1000 MB of RAM.</p> <div class="quote-msg"> <div class="quote-author"><em>firefox</em> wrote:</div> <p>System version: Erlang (BEAM) emulator version 5.6.3 [source] [64-bit] [smp:2] [async-threads:0] [kernel-poll:true] </p></div> <p>You are using 64bit kernel: remember that the RAM consumption will be higher than the same load on 32bit.</p> <p>If your users use transports, they probably will have large rosters with many 'transported' contacts. That will increase the size of the 'roster' table. That table is configured to be stored in disk and also in RAM. You can check the size of Mnesia tables in the Web Admin -&gt; Nodes -&gt; your node -&gt; Data Base.</p> Wed, 08 Oct 2008 11:02:27 +0000 mfoss comment 53633 at https://www.ejabberd.im