diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2012-11-12 15:44:41 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2012-11-12 15:44:41 +0000 |
commit | a6f80fe5cab43561afcf8a9853e3111eaa5664bb (patch) | |
tree | 326d6d8de583b77b0cde35c7da18450058ec6d37 /src/rabbit_alarm.erl | |
parent | 4cf850b2a27fb9c1122074848db734241bc71105 (diff) | |
download | rabbitmq-server-a6f80fe5cab43561afcf8a9853e3111eaa5664bb.tar.gz |
Use background_gc when the memory alarm goes off.
Diffstat (limited to 'src/rabbit_alarm.erl')
-rw-r--r-- | src/rabbit_alarm.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_alarm.erl b/src/rabbit_alarm.erl index 675d3697..e5f8a1c4 100644 --- a/src/rabbit_alarm.erl +++ b/src/rabbit_alarm.erl @@ -58,7 +58,7 @@ start() -> vm_memory_monitor, [MemoryWatermark, fun (Alarm) -> R = set_alarm(Alarm), - [garbage_collect(P) || P <- processes()], + background_gc:gc_all(), R end, fun clear_alarm/1]), |