From 6ff053db6a0d6fe95380fe8dc7330f02ef3c413e Mon Sep 17 00:00:00 2001 From: Myk Melez Date: Mon, 22 Oct 2018 16:13:44 -0700 Subject: [PATCH] correct size of default memory map --- src/environment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/environment.rs b/src/environment.rs index 9ac51c0..322014e 100644 --- a/src/environment.rs +++ b/src/environment.rs @@ -316,7 +316,7 @@ impl EnvironmentBuilder { /// Sets the size of the memory map to use for the environment. /// /// The size should be a multiple of the OS page size. The default is - /// 10485760 bytes. The size of the memory map is also the maximum size + /// 1048576 bytes. The size of the memory map is also the maximum size /// of the database. The value should be chosen as large as possible, /// to accommodate future growth of the database. It may be increased at /// later times.