The maximum file size, in bytes, for a file to be mapped into the
process address space. If no value is specified, it defaults to
10MB.
Namespace:
BerkeleyDBAssembly: libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.0
Syntax
C# |
---|
public uint MMapSize { get; set; } |
Visual Basic (Declaration) |
---|
Public Property MMapSize As UInteger |
Visual C++ |
---|
public: property unsigned int MMapSize { unsigned int get (); void set (unsigned int value); } |
Remarks
Files that are opened read-only in the cache (and that satisfy a few
other criteria) are, by default, mapped into the process address
space instead of being copied into the local cache. This can result
in better-than-usual performance because available virtual memory is
normally much larger than the local cache, and page faults are
faster than page copying on many systems. However, it can cause
resource starvation in the presence of limited virtual memory, and
it can result in immense process sizes in the presence of large
databases.