correct size of default memory map

without.crypto
Myk Melez 6 years ago
parent c64f0b4f82
commit 6ff053db6a
  1. 2
      src/environment.rs

@ -316,7 +316,7 @@ impl EnvironmentBuilder {
/// Sets the size of the memory map to use for the environment. /// 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 /// 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, /// of the database. The value should be chosen as large as possible,
/// to accommodate future growth of the database. It may be increased at /// to accommodate future growth of the database. It may be increased at
/// later times. /// later times.

Loading…
Cancel
Save