Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Use MB as 1000000
rabbitmq-server#1233
[#146160779]
  • Loading branch information
dcorbacho committed May 26, 2017
commit a71da196b0b23b01165912fb5309ca391d21dafc
2 changes: 1 addition & 1 deletion src/vm_memory_monitor.erl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

-define(SERVER, ?MODULE).
-define(DEFAULT_MEMORY_CHECK_INTERVAL, 1000).
-define(ONE_MB, 1048576).
-define(ONE_MB, 1000000).

%% For an unknown OS, we assume that we have 1GB of memory. It'll be
%% wrong. Scale by vm_memory_high_watermark in configuration to get a
Expand Down