2 writes to PeakMemoryUsage
Microsoft.ML.AutoML (1)
AutoMLExperiment\IPerformanceMonitor.cs (1)
138
PeakMemoryUsage
= _peakMemoryUsage
Microsoft.ML.AutoML.Tests (1)
AutoMLExperimentTests.cs (1)
500
PerformanceMetricsUpdated?.Invoke(this, new TrialPerformanceMetrics() { PeakCpuUsage = 100,
PeakMemoryUsage
= 1000 });
4 references to PeakMemoryUsage
Microsoft.ML.AutoML (4)
AutoMLExperiment\IPerformanceMonitor.cs (4)
149
_logger.Trace($"maximum memory usage: {_settings.MaximumMemoryUsageInMegaByte}, PeakMemoryUsage: {metrics.
PeakMemoryUsage
} trialIsCancelled: {trialCancellationTokenSource.IsCancellationRequested}");
150
if (_settings.MaximumMemoryUsageInMegaByte is double d && metrics.
PeakMemoryUsage
> d && !trialCancellationTokenSource.IsCancellationRequested)
152
_logger.Trace($"cancel current trial {trialSettings.TrialId} because it uses {metrics.
PeakMemoryUsage
} mb memory and the maximum memory usage is {d}");
155
GC.AddMemoryPressure(Convert.ToInt64(metrics.
PeakMemoryUsage
) * 1024 * 1024);