aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2016-11-28 15:40:24 +0100
committerDan Gudmundsson <[email protected]>2016-11-28 15:40:24 +0100
commit6f736dcf0600a2a99e7330bf56ab5565cfbe7114 (patch)
treeae50d66cceee87f132bf24c10cc49dac9e952c40 /lib/mnesia
parentdb6f4adc01afb8efac35111870f4c9bf5cfcf270 (diff)
downloadotp-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.
Diffstat (limited to 'lib/mnesia')
-rw-r--r--lib/mnesia/src/mnesia_tm.erl1
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),