We have checked the changes that garbage collection do not require to rebuild the Nop.web, you may edit Nop.Web.runtimeconfig.json file in the root folder of nopCommerce and update the “System.GC.Server” to false as shown below.
{
"runtimeOptions": {
"tfm": "netcoreapp2.1",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "2.1.0"
},
"configProperties": {
"System.GC.Server": false
}
}
}
You can try another solution for lower memory consumption by installing the 32- bit version of the .NET core runtime and update the process path attribute of <aspNetCore> in your web.config file as shown below.
<aspNetCore requestTimeout="23:00:00" processPath="C:\Program Files (x86)\dotnet\dotnet.exe" arguments=".\Nop.Web.dll" forwardWindowsAuthToken="false" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" startupTimeLimit="3600" />