Disable server GC since it's OOMing

This commit is contained in:
David Fowler 2016-02-12 13:38:49 -08:00
parent 5c0eb19859
commit 6d4594a633

View file

@ -117,7 +117,7 @@ int run(const arguments_t& args, const pal::string_t& clr_path)
// Workaround for dotnet/cli Issue #488 and #652
pal::string_t server_gc;
std::string server_gc_cstr = (pal::getenv(_X("COREHOST_SERVER_GC"), &server_gc) && !server_gc.empty()) ? pal::to_stdstring(server_gc) : "1";
std::string server_gc_cstr = (pal::getenv(_X("COREHOST_SERVER_GC"), &server_gc) && !server_gc.empty()) ? pal::to_stdstring(server_gc) : "0";
const char* property_values[] = {
// TRUSTED_PLATFORM_ASSEMBLIES