diff options
author | Erlang/OTP <[email protected]> | 2016-04-01 20:18:50 +0200 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2016-04-01 20:18:50 +0200 |
commit | 75f3e0c30face477da5de22c828b28cf32fca9ab (patch) | |
tree | f69d48f0e5d4cbd3004861b6629e1e49a363561a /erts | |
parent | 488f8b45695cacb3b3e1162ac132596f04d0e00d (diff) | |
parent | aaecaac6a392eb8bc6362d1a523858846ac8d670 (diff) | |
download | otp-75f3e0c30face477da5de22c828b28cf32fca9ab.tar.gz otp-75f3e0c30face477da5de22c828b28cf32fca9ab.tar.bz2 otp-75f3e0c30face477da5de22c828b28cf32fca9ab.zip |
Merge branch 'lukas/erts/fix_enomem_error_code/OTP-13419' into maint-18
* lukas/erts/fix_enomem_error_code/OTP-13419:
erts: Create erl_crash.dump when out of memory
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/beam/erl_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_alloc.c b/erts/emulator/beam/erl_alloc.c index 0877c24404..5f8cd2bbf7 100644 --- a/erts/emulator/beam/erl_alloc.c +++ b/erts/emulator/beam/erl_alloc.c @@ -1923,7 +1923,7 @@ erts_alc_fatal_error(int error, int func, ErtsAlcType_t n, ...) va_start(argp, n); size = va_arg(argp, Uint); va_end(argp); - erts_exit(1, + erts_exit(ERTS_DUMP_EXIT, "%s: Cannot %s %lu bytes of memory (of type \"%s\").\n", allctr_str, op, size, t_str); break; |