Dotnet Core Out Of Memory