1 write to _memoryLimit
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Linux\LinuxUtilizationProvider.cs (1)
50
_memoryLimit
= _parser.GetAvailableMemoryInBytes();
6 references to _memoryLimit
Microsoft.Extensions.Diagnostics.ResourceMonitoring (6)
Linux\LinuxUtilizationProvider.cs (6)
79
Resources = new SystemResources(cpuRequest, cpuLimit,
_memoryLimit
,
_memoryLimit
);
80
Log.SystemResourcesInfo(_logger, cpuLimit, cpuRequest,
_memoryLimit
,
_memoryLimit
);
140
double memoryPercentage = Math.Min(One, (double)memoryUsed /
_memoryLimit
);
147
Log.MemoryUsageData(_logger, memoryUsed,
_memoryLimit
, _memoryPercentage);