Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit a8ef04f

Browse files
committed
fix rval
1 parent 23d13f6 commit a8ef04f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vm_memory_monitor.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ get_system_process_resident_memory({win32,_OSname}) ->
188188
% Note: 3.6.12 shipped with code that used wmic.exe to get the
189189
% WorkingSetSize value for the running erl.exe process.
190190
% See rabbitmq/rabbitmq-server#1343 for details
191-
erlang:memory(total);
191+
{ok, erlang:memory(total)};
192192

193193
get_system_process_resident_memory({unix, sunos}) ->
194194
get_ps_memory();

0 commit comments

Comments
 (0)