Skip to content

Commit

Permalink
Add doc explaining calculation of system_memory_high_watermark depend…
Browse files Browse the repository at this point in the history
…s on os
  • Loading branch information
mmzeeman committed Oct 17, 2024
1 parent 4b0ef3f commit 6a41f5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/os_mon/src/memsup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ Periodically performs a memory check:
- If more than a certain amount of available system memory is allocated, as
reported by the underlying operating system, the alarm
`{system_memory_high_watermark, []}` is set.
`{system_memory_high_watermark, []}` is set. How the amount of available
memory is determined depends on the underlying OS and may change as better
values become available.
- If any Erlang process `Pid` in the system has allocated more than a certain
amount of total system memory, the alarm
`{process_memory_high_watermark, Pid}` is set.
Expand Down

0 comments on commit 6a41f5b

Please sign in to comment.