From ba49b004bb2d495e3840294b3f7a35ed094d0e2c Mon Sep 17 00:00:00 2001 From: Chomp Date: Wed, 24 Dec 2025 14:32:33 +0000 Subject: [PATCH] Log warning when RAM is below 30GB --- Libraries/SPTarkov.Server.Core/Utils/App.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Libraries/SPTarkov.Server.Core/Utils/App.cs b/Libraries/SPTarkov.Server.Core/Utils/App.cs index 4c8bd14f..79381d2d 100644 --- a/Libraries/SPTarkov.Server.Core/Utils/App.cs +++ b/Libraries/SPTarkov.Server.Core/Utils/App.cs @@ -41,6 +41,11 @@ public class App( logger.Debug($"OS: {Environment.OSVersion.Version} | {Environment.OSVersion.Platform}"); logger.Debug($"Pagefile: {pageFileGb:F2} GB"); logger.Debug($"RAM: {totalMemoryGb:F2} GB"); + if (totalMemoryGb < 30) + { + logger.Warning($"Detected RAM ({totalMemoryGb:F2}GB) is smaller than recommended (32GB) you may experience crashes or reduced FPS on large maps"); + } + logger.Debug($"Ran as admin: {Environment.IsPrivilegedProcess}"); logger.Debug($"CPU cores: {Environment.ProcessorCount}"); logger.Debug($"PATH: {(Environment.ProcessPath ?? "null returned").Encode(EncodeType.BASE64)}");