Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First of all, you can try to see what fails during the booting of the VM by adding the arguments <code>init_debug</code> to the VM:</p> <pre><code>$ erl -init_debug {progress,preloaded} {progress,kernel_load_completed} {progress,modules_loaded} {start,heart} {start,error_logger} {start,application_controller} {progress,init_kernel_started} ... {progress,applications_loaded} {apply,{application,start_boot,[kernel,permanent]}} {apply,{application,start_boot,[stdlib,permanent]}} {apply,{c,erlangrc,[]}} {progress,started} Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.8.4 (abort with ^G) 1&gt; </code></pre> <p>Using this, you'll be able to see with more details the kind of interactions going on. It might be that libraries are being loaded in the wrong order, you don't support native, etc.</p> <hr> <p>Second issue, the rel file containing too many applications. This is likely due to the fact that Rebar uses Reltool ot generate releases, and that different applications can be loaded depending on how granular the control is whne generating releases (see <code>incl_cond</code> material in the docs). There are a few examples for this in the <a href="http://learnyousomeerlang.com/release-is-the-word#recipes" rel="noreferrer">Release is The Word</a> chapter of Learn You Some Erlang:</p> <pre><code>{sys, [ {lib_dirs, ["/home/ferd/code/learn-you-some-erlang/release/"]}, {erts, [{mod_cond, derived}, % derived makes it pick less stuff {app_file, strip}]}, {rel, "erlcount", "1.0.0", [kernel, stdlib, ppool, erlcount]}, {boot_rel, "erlcount"}, {relocatable, true}, {profile, embedded}, % reduces the files included from each app {app_file, strip}, % reduces the size of app files if possible {incl_cond, exclude}, % by default, don't include apps. 'derived' is another option {app, stdlib, [{mod_cond, derived}, {incl_cond, include}]}, % include at the app {app, kernel, [{incl_cond, include}]}, % level overrides the {app, ppool, [{vsn, "1.0.0"}, {incl_cond, include}]}, % exclude put earlier {app, erlcount, [{vsn, "1.0.0"}, {incl_cond, include}]} ]}. </code></pre> <p>And this should generate smaller releases.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload