How-to-simply...

Fix TeamCity GC heap initialization failed with error 0x8007000E on WIN net70

  • 1 Add a new system environment variable DOTNET_GCHeapHardLimit with value 1C0000000 or B26000000 (max) to increase max number of bytes GC heap can reserve.
  • 2 Restart server

References