nopCommerce asp.net core performance

493 views Asked by At

I've done small performance test of last version of nopCommerce 4.10, results are not good. https://github.com/nopSolutions/nopCommerce/issues/3257

Is there anybody who already faced with the issue? Does anyone have ideas how to find and fix root cause?

1

There are 1 answers

3
GreenBee On

One of the problems (high memory usage) is solved by adding this code into your Nop.Web.csproj file:

<PropertyGroup>  
    <ServerGarbageCollection>false</ServerGarbageCollection>
</PropertyGroup>

Or just download the updated version of 4.10 with this change applied.

You can do more by running nopCommerce as a 32-bit application. You will need to install 2-bit version of .NET Core Runtime and changing the processPath attribute of the element in your web.config file to the path of your 32-bit dotnet.exe (for us it was C:\Program Files (x86)\dotnet\dotnet.exe) like this:

<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" />

Note: You can download the 32-bit version of .NET Core Runtime from here.