summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2015-11-23 11:19:29 -0500
committerGeert Bosch <geert@mongodb.com>2015-11-23 11:33:25 -0500
commitd91c4c047197a408628a09f89c2489380b0e1f77 (patch)
tree3f1acc2d4e6f9aa7f9eefb3f72a3084dac491346
parent84ff80c1c6ecd71558419af1f5057d22c93676e9 (diff)
downloadmongo-d91c4c047197a408628a09f89c2489380b0e1f77.tar.gz
SERVER-21627: Increase journal buffer limit for debug builds
-rw-r--r--src/mongo/db/storage/mmap_v1/aligned_builder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/mmap_v1/aligned_builder.cpp b/src/mongo/db/storage/mmap_v1/aligned_builder.cpp
index ce2ae8296b9..911be67031a 100644
--- a/src/mongo/db/storage/mmap_v1/aligned_builder.cpp
+++ b/src/mongo/db/storage/mmap_v1/aligned_builder.cpp
@@ -111,7 +111,7 @@ void NOINLINE_DECL AlignedBuilder::growReallocate(unsigned oldLen) {
}
// Use smaller maximum for debug builds, as we should never be close the the maximum
- dassert(_len <= 256 * MB);
+ dassert(_len <= 512 * MB);
// Compute newSize by doubling the existing maximum size until the maximum is reached
invariant(oldSize > 0);