diff options
author | Dan Gudmundsson <[email protected]> | 2016-11-28 15:40:24 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-11-28 15:40:24 +0100 |
commit | 6f736dcf0600a2a99e7330bf56ab5565cfbe7114 (patch) | |
tree | ae50d66cceee87f132bf24c10cc49dac9e952c40 | |
parent | db6f4adc01afb8efac35111870f4c9bf5cfcf270 (diff) | |
download | otp-6f736dcf0600a2a99e7330bf56ab5565cfbe7114.tar.gz otp-6f736dcf0600a2a99e7330bf56ab5565cfbe7114.tar.bz2 otp-6f736dcf0600a2a99e7330bf56ab5565cfbe7114.zip |
Use off_heap memory queue for mnesia_tm
Helps when mnesia_tm gets drowned in dirty_writes from remote node.
-rw-r--r-- | lib/mnesia/src/mnesia_tm.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mnesia/src/mnesia_tm.erl b/lib/mnesia/src/mnesia_tm.erl index 388b42cf15..305bf14bcf 100644 --- a/lib/mnesia/src/mnesia_tm.erl +++ b/lib/mnesia/src/mnesia_tm.erl @@ -80,6 +80,7 @@ start() -> init(Parent) -> register(?MODULE, self()), process_flag(trap_exit, true), + process_flag(message_queue_data, off_heap), %% Initialize the schema IgnoreFallback = mnesia_monitor:get_env(ignore_fallback_at_startup), |