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

Use Recon allocator information to compute the amount of RAM used by the node #226

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ define PROJECT_APP_EXTRA_KEYS
]}
endef

BUILD_DEPS = recon
LOCAL_DEPS = compiler syntax_tools xmerl

# FIXME: Use erlang.mk patched for RabbitMQ, while waiting for PRs to be
Expand Down
2 changes: 1 addition & 1 deletion src/vm_memory_monitor.erl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ get_memory_calculation_strategy() ->
"Defaulting to 'rss'",
[UnsupportedValue]
),
rss
allocated
end.

-spec get_system_process_resident_memory() -> {ok, Bytes :: integer()} | {error, term()}.
Expand Down