Hi guys,
We are receiving the following error when attempting to replicate between RavenDB servers.
Error: Microsoft.Isam.Esent.Interop.EsentVersionStoreOutOfMemoryException: Version store out of memory (cleanup already attempted)
at Microsoft.Isam.Esent.Interop.Api.Check(Int32 err)
at Microsoft.Isam.Esent.Interop.Api.JetEscrowUpdate(JET_SESID sesid, JET_TABLEID tableid, JET_COLUMNID columnid, Byte[] delta, Int32 deltaSize, Byte[] previousValue, Int32 previousValueLength, Int32& actualPreviousValueLength, EscrowUpdateGrbit grbit)
at Microsoft.Isam.Esent.Interop.Api.EscrowUpdate(JET_SESID sesid, JET_TABLEID tableid, JET_COLUMNID columnid, Int32 delta)
at Raven.Database.Storage.Esent.StorageActions.DocumentStorageActions.AddDocument(String key, Etag etag, RavenJObject data, RavenJObject metadata)
at Raven.Database.Actions.DocumentActions.<>c__DisplayClass20_0.<Put>b__0(IStorageActionsAccessor actions)
at Raven.Storage.Esent.TransactionalStorage.Batch(Action`1 action)
at Raven.Database.Actions.DocumentActions.Put(String key, Etag etag, RavenJObject document, RavenJObject metadata, TransactionInformation transactionInformation, String[] participatingIds)
at Raven.Bundles.Replication.Responders.DocumentReplicationBehavior.AddWithoutConflict(String id, Etag etag, RavenJObject metadata, RavenJObject incoming)
at Raven.Database.Bundles.Replication.Responders.Behaviors.SingleItemReplicationBehavior`2.Replicate(String id, RavenJObject metadata, TExternal incoming)
at Raven.Database.Bundles.Replication.Controllers.ReplicationController.<>c__DisplayClass15_2.<DocReplicatePost>b__0(IStorageActionsAccessor actions)
at Raven.Storage.Esent.TransactionalStorage.ExecuteBatch(Action`1 action, EsentTransactionContext transactionContext)
at Raven.Storage.Esent.TransactionalStorage.Batch(Action`1 action)
at Raven.Database.Bundles.Replication.Controllers.ReplicationController.<DocReplicatePost>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__3`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()
Our server build is #35180
The number of records in the database is 18,378,296
We have tried disabling and re-enabling the Replication configuration. This has not fixed the problem. There are a number of other similar posts that have suggestions from other users of RavenDB to increase the MaxVerPages from 512 to a higher number.
Can you help with this?