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

Commit 7571eac

Browse files
Explain
1 parent 1882d89 commit 7571eac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vm_memory_monitor.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,12 @@ get_process_memory() ->
143143

144144
get_process_memory_using_strategy(allocated) ->
145145
recon_alloc:memory(allocated);
146+
%% backwards compatibility
146147
get_process_memory_using_strategy(erlang) ->
147148
erlang:memory(total);
148149
get_process_memory_using_strategy(legacy) ->
149150
erlang:memory(total);
151+
%% backwards compatibility
150152
get_process_memory_using_strategy(rss) ->
151153
recon_alloc:memory(allocated).
152154

0 commit comments

Comments
 (0)