One of the simplest solutions you can apply is to change the operating mode of the Garbage Collection Mode.

To apply this solution, modify the “System.GC.Server” element in the project.json file in Visual Studio 2015 from true to false

 

Pentru ca setarile au fost mutate in fisierul ASPNETCore.csproj pentru Visual Studio 2017 este necesar sa modificati noul XML ServerGarbageCollecton din true in false.
<PropertyGroup> 
    <ServerGarbageCollection>false</ServerGarbageCollection>
</PropertyGroup>

Because all HostX.ro servers run on multiple processors, changing these values reduces the .NET CORE memory used by the application.

Was this answer helpful? 0 Users Found This Useful (0 Votes)