Certain Mailboxes are failing to sync with the following errors and the MAGE Agent stops processing the other mailboxes associated with the Agent until it is restarted:
2017-11-01 16:34:56.8004 Px273C TxF A87 C74 M6107 Error System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.set_Length(Int32 value)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlCharCheckingReader.Read()
at System.Xml.ReadContentAsBinaryHelper.InitOnElement()
at System.Xml.ReadContentAsBinaryHelper.ReadElementContentAsBase64(Byte[] buffer, Int32 index, Int32 count)
at System.Xml.XmlCharCheckingReader.ReadElementContentAsBase64(Byte[] buffer, Int32 index, Int32 count)
at Microsoft.Exchange.WebServices.Data.EwsXmlReader.ReadBase64ElementValue()
at Microsoft.Exchange.WebServices.Data.ExportItemsResponse.ReadElementsFromXml(EwsServiceXmlReader reader)
at Microsoft.Exchange.WebServices.Data.ServiceResponse.LoadFromXml(EwsServiceXmlReader reader, String xmlElementName)
at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.ParseResponse(EwsServiceXmlReader reader)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ParseResponse(EwsServiceXmlReader reader, WebHeaderCollection responseHeaders)
at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ReadResponse(EwsServiceXmlReader ewsXmlReader, WebHeaderCollection responseHeaders)
at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.ReadResponseXml(Stream responseStream, WebHeaderCollection responseHeaders)
at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.ReadResponse(IEwsHttpWebResponse response)
at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
at Microsoft.Exchange.WebServices.Data.ExchangeService.ExportItems(IEnumerable`1 itemIds)
at Quest.MigrationManager.Exchange.MigrationConnectors.Ews.ProductionExchangeService.ExportItems(IEnumerable`1 itemIds)
at Quest.MigrationManager.Exchange.MigrationConnectors.Ews.EwsSyncConnector.DoExportItems(IEnumerable`1 itemsToExport)
at Quest.MigrationManager.Exchange.MigrationConnectors.Ews.EwsSyncConnector.<ExportOneByOne>d__96.MoveNext()
at Quest.MigrationManager.Exchange.MigrationConnectors.Ews.EwsSyncConnector.<GetItemsPortion>d__105.MoveNext()
at Quest.MigrationManager.Exchange.MigrationConnectors.Ews.EwsSyncConnector.<GetItems>d__99.MoveNext()
at Quest.MigrationManager.Exchange.MigrationConnectors.GenericSyncConnector.ProcessChangedItemsCache(IFolderPair folderPair)
at Quest.MigrationManager.Exchange.MigrationConnectors.GenericSyncConnector.SyncFolderItems(IFolderPair folderPair, SyncDirection syncDirection)
2017-11-01 16:36:53.3028 Px273C TxB A87 C- M- Trace We have exceeded the memory consumption threshold, waiting for free memory.