enableAutoRelief static method
Enable automatic memory relief.
Implementation
static void enableAutoRelief({
int thresholdMb = 512,
int checkIntervalFiles = 50,
}) {
_autoReliefEnabled = true;
_thresholdMb = thresholdMb;
_checkIntervalFiles = checkIntervalFiles;
}