public void LowMemory(LowMemorySeverity lowMemorySeverity) { InLowMemoryMode.Raise(); if (lowMemorySeverity != LowMemorySeverity.ExtremelyLow) { return; } // can't call clear, etc, just forget the whole thing, so GC will clean CacheByReader = new(); }
public void LowMemoryOver() { InLowMemoryMode.Lower(); }