RavenDB version 2.0. Other versions:

Reducing RavenDB memory footprint

By default, RavenDB will trade-off higher memory usage for better performance, you can limit the amount of memory RavenDB will use when running on memory constrained hardware.

The following configuration options instruct RavenDB to use much less memory:

<add key="Raven/Esent/CacheSizeMax" value="256"/>
<add key="Raven/Esent/MaxVerPages" value="32"/>

The first value is the maximum size of the cache, limited to 256 megabytes. The second is the maximum number of version pages to keep in memory, limited to 32 bytes.

Comments add new comment

The comments section is for user feedback or community content. If you seek assistance or have any questions, please post them at our support forums.

Daniel Lidström
REPLY Posted by Daniel Lidström on

MaxVerPages value is in megabytes.