diff options
author | Eliot Horowitz <eliot@10gen.com> | 2015-01-28 11:42:18 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2015-01-28 12:06:26 -0500 |
commit | 9da40029fef37df8d33218101ffa2ff22d94a2da (patch) | |
tree | 407119f8bed813ae642ea090c0212c77509c78f7 /src/mongo/util/tcmalloc_set_parameter.cpp | |
parent | 83681b826fbe4da459924536f037dfa652eea543 (diff) | |
download | mongo-9da40029fef37df8d33218101ffa2ff22d94a2da.tar.gz |
SERVER-16773: Increase TCMalloc default cache size to 1G
Diffstat (limited to 'src/mongo/util/tcmalloc_set_parameter.cpp')
-rw-r--r-- | src/mongo/util/tcmalloc_set_parameter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/tcmalloc_set_parameter.cpp b/src/mongo/util/tcmalloc_set_parameter.cpp index 91ececc12d0..c0d7a912e04 100644 --- a/src/mongo/util/tcmalloc_set_parameter.cpp +++ b/src/mongo/util/tcmalloc_set_parameter.cpp @@ -130,7 +130,7 @@ namespace { if (getenv("TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES")) { return Status::OK(); } - return tcmallocMaxTotalThreadCacheBytesParameter.setFromString("0x10000000" /* 256MB */); + return tcmallocMaxTotalThreadCacheBytesParameter.setFromString("0x40000000" /* 1024MB */); } } // namespace |