NopCommerce 4.10 - Slow because of High memory usage.

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" />
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

SQL server- network related or instance-specific error happened while connection establishing

  Instance-specific or network related error happening while connecting to SQL server   Please...

OleDB connection string examples

OleDB connection string examples MS Access (Jet) "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA...

Do you allow custom COM components?

Do you allow custom COM components? We are not offering to install the custom COM components...

Error when accessing a WCF services

Error when accessing a WCF services Error when accessing a WCF service: "IIS specified...

How to cache static contents to client with UseMaxAge?

You can consider to caches static contents to the client with UseMaxAge if your website has too...

Powered by WHMCompleteSolution