mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Report available memory in startup info
This commit is contained in:
@@ -17,6 +17,7 @@ internal static class RuntimeInformationPrinter
|
||||
$".NET Runtime: {RuntimeInformation.FrameworkDescription} {RuntimeInformation.RuntimeIdentifier}",
|
||||
$"Server GC: {GCSettings.IsServerGC}",
|
||||
$"Processor: {Environment.ProcessorCount}x {SystemInformation.GetProcessorModel()}",
|
||||
$"Available Memory: {ByteHelpers.FormatBytes(GC.GetGCMemoryInfo().TotalAvailableMemoryBytes)}",
|
||||
$"Architecture: {RuntimeInformation.ProcessArchitecture}",
|
||||
$"Robust Version: {version}",
|
||||
$"Compile Options: {string.Join(';', GetCompileOptions())}",
|
||||
|
||||
Reference in New Issue
Block a user