ejabberd - Comments for "Private heap or shared heap" https://www.ejabberd.im/node/573 en Re: I just read up about HiPE https://www.ejabberd.im/node/573#comment-1217 <div class="quote-msg"> <div class="quote-author"><em>parautenbach</em> wrote:</div> <p>I assume ejabberd is not compiled with HiPE.</p></div> <p>Again, ejabberd does not require or restrict HiPE, you can or cannot use it as you wish. </p> <p>Since the experiments Aleksey and me did on the past do not show any advantage on using HiPE, it's not used on the default configuration. But you can experiment with it, maybe you find an interesting option :)</p> <p>About the heap thing, I found this: <noindex><a href="/tuning" rel="nofollow" >Unified heap stack: -shared</a></noindex>. But I didn't experiment too much with it, so I can't tell you if it's worth or not.</p> <p>I guess the binaries available on Debian, Gentoo, Process-one both Windows and Linux... do not use -shared or HiPE.</p> Thu, 05 Jan 2006 12:03:50 +0000 mfoss comment 1217 at https://www.ejabberd.im I just read up about HiPE https://www.ejabberd.im/node/573#comment-1214 <p>I just read up about HiPE (High Performance Erlang) - it seems like the heap options I've mentioned is part of this. I assume ejabberd is not compiled with HiPE. Any comments are still welcome though.</p> Thu, 05 Jan 2006 07:33:30 +0000 parautenbach comment 1214 at https://www.ejabberd.im Thanks, badlop. Maybe I https://www.ejabberd.im/node/573#comment-1213 <p>Thanks, badlop. Maybe I should've said 'compiled' and not 'built'. I found a number of threads on the Erlang archive discussing the topic of private vs. shared heaps (more than 10). The way I understood it (I may be wrong) is that this is an option during compilation. However, I cannot find a flag to set such an option. The reason that I need to know this, is that our cluster of 3 Jabber servers cause the various machines to run out of memory due to heap memory allocation - see <a href="http://www.ejabberd.im/node/551" title="http://www.ejabberd.im/node/551">http://www.ejabberd.im/node/551</a>.</p> Thu, 05 Jan 2006 07:06:05 +0000 parautenbach comment 1213 at https://www.ejabberd.im This is just speculation: https://www.ejabberd.im/node/573#comment-1209 <p>This is just speculation: ejabberd is not designed, implemented or requires private or shared heap; that's a decision by Erlang. </p> <p>Erlang documentation, <noindex><a href="http://erlang.se/doc/doc-5.4.12/erts-5.4.12/doc/html/erl.html" rel="nofollow" >'erl' command line tool. </a></noindex></p> Wed, 04 Jan 2006 19:17:59 +0000 mfoss comment 1209 at https://www.ejabberd.im