Erlang - Is it possible to limit the ram consumption when using disc copies in Mnesia? -
i have 4gb ram in system , used 2gb of ram before insertion completed wen using disc_copies. wondering happen if 100 percent of ram consumed? there option limit ram consumed during disc_copies, limiting ram usage 2gb? if looking how limit erlang vm memory usage should use control groups it. if monitor memory usage should use memory monitor memsup os_mon application . $ erl -boot start_sasl erlang/otp 18 [erts-7.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] ... =progress report==== 22-oct-2015::22:39:46 === application: sasl started_at: nonode@nohost eshell v7.0 (abort ^g) 1> application:start(os_mon). ... =progress report==== 22-oct-2015::22:40:03 === application: os_mon started_at: nonode@nohost ok 2> ... 2> memsup:get_memory_data(). {8162500608,6514708480,{<0.7.0>,426616}} 3> memsup:get_system_memory_data(). [{system_total_memory,8162500608}, {free_swap,5996748800}, {...