diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-12-13 20:19:33 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-12-14 15:13:01 +0100 |
commit | 4795e4510804f5c1a0160443b9a7b56caa9d369e (patch) | |
tree | 8dd6908171f1c7fa8fc27179f38da70fac4d11ec | |
parent | f7bbf8938b5dc0b4b28f5c3f932cce4b7b2def37 (diff) | |
download | otp-4795e4510804f5c1a0160443b9a7b56caa9d369e.tar.gz otp-4795e4510804f5c1a0160443b9a7b56caa9d369e.tar.bz2 otp-4795e4510804f5c1a0160443b9a7b56caa9d369e.zip |
erts: Make ll main mbc fit into 2pow size
-rw-r--r-- | erts/emulator/beam/erl_alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c index 1fc36fbd26..152d8e8c65 100644 --- a/erts/emulator/beam/erl_alloc.c +++ b/erts/emulator/beam/erl_alloc.c @@ -310,9 +310,9 @@ set_default_ll_alloc_opts(struct au_init *ip) ip->init.util.name_prefix = "ll_"; ip->init.util.alloc_no = ERTS_ALC_A_LONG_LIVED; #ifndef SMALL_MEMORY - ip->init.util.mmbcs = 2*1024*1024; /* Main carrier size */ + ip->init.util.mmbcs = 2*1024*1024 - 40; /* Main carrier size */ #else - ip->init.util.mmbcs = 1*1024*1024; /* Main carrier size */ + ip->init.util.mmbcs = 1*1024*1024 - 40; /* Main carrier size */ #endif ip->init.util.ts = ERTS_ALC_MTA_LONG_LIVED; ip->init.util.asbcst = 0; |