enableAutoRelief static method

void enableAutoRelief({
  1. int thresholdMb = 512,
  2. int checkIntervalFiles = 50,
})

Enable automatic memory relief.

Implementation

static void enableAutoRelief({
  int thresholdMb = 512,
  int checkIntervalFiles = 50,
}) {
  _autoReliefEnabled = true;
  _thresholdMb = thresholdMb;
  _checkIntervalFiles = checkIntervalFiles;
}