View Source Bonfire.Common.MemoryMonitor (Bonfire v0.9.10-classic-beta.169)
This module implements a GenServer that monitors the memory usage of a process. It periodically checks the memory consumption.
Summary
Functions
Returns a specification to start this module under a supervisor.
Handles incoming messages to the GenServer.
Starts the MemoryMonitor process linked to the caller process with given options.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Handles incoming messages to the GenServer.
:check
- Performs memory usage checks on the monitored process
Starts the MemoryMonitor process linked to the caller process with given options.