From 6d4594a63391945e28314afe9ef4df2e0a1060b7 Mon Sep 17 00:00:00 2001 From: David Fowler Date: Fri, 12 Feb 2016 13:38:49 -0800 Subject: [PATCH] Disable server GC since it's OOMing --- src/corehost/cli/hostpolicy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corehost/cli/hostpolicy.cpp b/src/corehost/cli/hostpolicy.cpp index efe4259b2..ead5f5da0 100644 --- a/src/corehost/cli/hostpolicy.cpp +++ b/src/corehost/cli/hostpolicy.cpp @@ -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