1 write to _physicalMemoryMonitor
System.Runtime.Caching (1)
System\Caching\MemoryCacheStatistics.cs (1)
199
_physicalMemoryMonitor
= new PhysicalMemoryMonitor(_configPhysicalMemoryLimitPercentage);
7 references to _physicalMemoryMonitor
System.Runtime.Caching (7)
System\Caching\MemoryCacheStatistics.cs (7)
55
if (
_physicalMemoryMonitor
.IsAboveHighPressure() || _cacheMemoryMonitor.IsAboveHighPressure()) {
65
|| (
_physicalMemoryMonitor
.PressureLast >
_physicalMemoryMonitor
.PressureLow / 2)) {
96
return Math.Max(
_physicalMemoryMonitor
.GetPercentToTrim(_lastTrimTime, _lastTrimPercent), _cacheMemoryMonitor.GetPercentToTrim(_lastTrimTime, _lastTrimPercent));
166
_physicalMemoryMonitor
.Update();
182
return
_physicalMemoryMonitor
.MemoryLimit;
304
_physicalMemoryMonitor
.SetLimit(physicalMemoryLimitPercentage);