start method
void
start()
Starts the resource monitor
Implementation
void start() {
if (_isRunning) return;
_isRunning = true;
logger?.info('Resource monitor started');
// Check resources immediately
_checkResources();
// Start the timer for periodic checks
_checkTimer = Timer.periodic(
Duration(milliseconds: checkIntervalMs),
(_) => _checkResources(),
);
}