Windows GUI memory tester. It reports installed and available RAM, allocates the selected amount in 16 MiB blocks, displays the allocated virtual-address span, and tests every byte with 1 then 0, ten times per byte. Failures remain in the GUI and are immediately written to a timestamped log beside the executable.
This intentionally tests memory owned by the process. A normal Windows program cannot safely traverse physical address space; attempting that would overwrite the operating system, drivers, and other programs.
& 'C:\Program Files\dotnet\dotnet.exe' publish .\SafeRamTester.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=trueThe executable is created under bin\Release\net8.0-windows\win-x64\publish.
Win7/Program.cs is the .NET Framework 4.0-compatible edition for Windows 7 SP1 through Windows 11. The generated per-user installer does not require administrator rights. It installs under %LOCALAPPDATA%\Safe RAM Tester and creates Desktop and Start Menu shortcuts.
Windows 7 must have .NET Framework 4.0 or later enabled (Windows 7 SP1 supports up to .NET Framework 4.8).