Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Any ideas anyone can give me on this would be greatly appreciated. When trying to save and publish new content I am seeing:
Message=Exception of type 'System.OutOfMemoryException' was thrown. Source=mscorlib StackTrace: at System.Collections.ArrayList.setCapacity(Int32 value) at System.Collections.ArrayList.EnsureCapacity(Int32 min) at System.Collections.ArrayList.Add(Object value) at umbraco.content.Clone(XmlDocument xmlDoc) at umbraco.content.SafeXmlReaderWriter..ctor(content instance, IDisposable releaser, Boolean isWriter, Boolean auto) at umbraco.content.UpdateDocumentCache(Document d) at Umbraco.Web.Cache.PageCacheRefresher.Refresh(IContent instance) at Umbraco.Core.Sync.ServerMessengerBase.DeliverLocal[T](ICacheRefresher refresher, MessageType messageType, Func2 getId, IEnumerable1 instances) at Umbraco.Core.Sync.ServerMessengerBase.Deliver[T](IEnumerable1 servers, ICacheRefresher refresher, MessageType messageType, Func2 getId, IEnumerable1 instances) at Umbraco.Core.Sync.ServerMessengerBase.PerformRefresh[T](IEnumerable1 servers, ICacheRefresher refresher, Func2 getNumericId, T[] instances) at Umbraco.Web.Cache.DistributedCache.Refresh[T](Guid factoryGuid, Func2 getNumericId, T[] instances) at Umbraco.Web.Cache.DistributedCacheExtensions.RefreshPageCache(DistributedCache dc, IContent[] content) at Umbraco.Web.Cache.CacheRefresherEventHandler.UpdateSingleContentCache(IContent content) at Umbraco.Web.Cache.CacheRefresherEventHandler.PublishingStrategyPublished(IPublishingStrategy sender, PublishEventArgs1 e) at Umbraco.Core.Events.TypedEventHandler2.Invoke(TSender sender, TEventArgs e) at Umbraco.Core.Events.EventExtensions.RaiseEvent[TSender,TArgs](TypedEventHandler2 eventHandler, TArgs args, TSender sender) at Umbraco.Core.Publishing.PublishingStrategy.PublishingFinalized(IContent content) at Umbraco.Core.Services.ContentService.SaveAndPublishDo(IContent content, Int32 userId, Boolean raiseEvents) at Umbraco.Core.Services.ContentService.Umbraco.Core.Services.IContentServiceOperations.SaveAndPublish(IContent content, Int32 userId, Boolean raiseEvents) at Umbraco.Core.Services.ContentService.SaveAndPublishWithStatus(IContent content, Int32 userId, Boolean raiseEvents) at Netsuite.Integration.Business.Logic.Repositories.IntegrationRepository.SaveAndPublish(String name, String netsuiteId, CustomFieldRef[] customFieldList, String parentUmbracoType, String parentNetsuiteField) in C:\Projects\DWS.Umbraco\Trunk\DWS.Umbraco7.4\DWS.Netsuite.Integration.Business.Logic\NetsuiteIntegration\IntegrationRepository.cs:line 355 at Netsuite.Integration.Business.Logic.Repositories.IntegrationRepository.UpdateItem(String searchType, NetsuiteAccount netsuiteAccount, Int32 umbracoRoot, String umbracoType, List1 mappingsList, String integrationTableName, String customSearchId, String parentUmbracoType, String parentNetsuiteField, String isOnlineField) in C:\Projects\DWS.Umbraco\Trunk\DWS.Umbraco7.4\DWS.Netsuite.Integration.Business.Logic\NetsuiteIntegration\IntegrationRepository.cs:line 179 at DWS.Web.Controllers.IntegrationJobController.UmbracoNetsuiteIntegration(IPublishedContent job, IPublishedContent account, IEnumerable1 tasks) in C:\Projects\DWS.Umbraco\Trunk\DWS.Umbraco7.4\DWS.Web\Controllers\IntegrationJobController.cs:line 98 at DWS.Web.Controllers.IntegrationJobController.Index(RenderModel renderingPage) in C:\Projects\DWS.Umbraco\Trunk\DWS.Umbraco7.4\DWS.Web\Controllers\IntegrationJobController.cs:line 39 at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.
2 getId, IEnumerable
1 servers, ICacheRefresher refresher, MessageType messageType, Func
1 instances) at Umbraco.Core.Sync.ServerMessengerBase.PerformRefresh[T](IEnumerable
2 getNumericId, T[] instances) at Umbraco.Web.Cache.DistributedCache.Refresh[T](Guid factoryGuid, Func
1 e) at Umbraco.Core.Events.TypedEventHandler
2 eventHandler, TArgs args, TSender sender) at Umbraco.Core.Publishing.PublishingStrategy.PublishingFinalized(IContent content) at Umbraco.Core.Services.ContentService.SaveAndPublishDo(IContent content, Int32 userId, Boolean raiseEvents) at Umbraco.Core.Services.ContentService.Umbraco.Core.Services.IContentServiceOperations.SaveAndPublish(IContent content, Int32 userId, Boolean raiseEvents) at Umbraco.Core.Services.ContentService.SaveAndPublishWithStatus(IContent content, Int32 userId, Boolean raiseEvents) at Netsuite.Integration.Business.Logic.Repositories.IntegrationRepository.SaveAndPublish(String name, String netsuiteId, CustomFieldRef[] customFieldList, String parentUmbracoType, String parentNetsuiteField) in C:\Projects\DWS.Umbraco\Trunk\DWS.Umbraco7.4\DWS.Netsuite.Integration.Business.Logic\NetsuiteIntegration\IntegrationRepository.cs:line 355 at Netsuite.Integration.Business.Logic.Repositories.IntegrationRepository.UpdateItem(String searchType, NetsuiteAccount netsuiteAccount, Int32 umbracoRoot, String umbracoType, List
1 tasks) in C:\Projects\DWS.Umbraco\Trunk\DWS.Umbraco7.4\DWS.Web\Controllers\IntegrationJobController.cs:line 98 at DWS.Web.Controllers.IntegrationJobController.Index(RenderModel renderingPage) in C:\Projects\DWS.Umbraco\Trunk\DWS.Umbraco7.4\DWS.Web\Controllers\IntegrationJobController.cs:line 39 at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary
2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Getting Out of Memory exception from SaveAndPublishWithStatus()
Any ideas anyone can give me on this would be greatly appreciated. When trying to save and publish new content I am seeing:
Message=Exception of type 'System.OutOfMemoryException' was thrown. Source=mscorlib StackTrace: at System.Collections.ArrayList.setCapacity(Int32 value) at System.Collections.ArrayList.EnsureCapacity(Int32 min) at System.Collections.ArrayList.Add(Object value) at umbraco.content.Clone(XmlDocument xmlDoc) at umbraco.content.SafeXmlReaderWriter..ctor(content instance, IDisposable releaser, Boolean isWriter, Boolean auto) at umbraco.content.UpdateDocumentCache(Document d) at Umbraco.Web.Cache.PageCacheRefresher.Refresh(IContent instance) at Umbraco.Core.Sync.ServerMessengerBase.DeliverLocal[T](ICacheRefresher refresher, MessageType messageType, Func
2 getId, IEnumerable
1 instances) at Umbraco.Core.Sync.ServerMessengerBase.Deliver[T](IEnumerable1 servers, ICacheRefresher refresher, MessageType messageType, Func
2 getId, IEnumerable1 instances) at Umbraco.Core.Sync.ServerMessengerBase.PerformRefresh[T](IEnumerable
1 servers, ICacheRefresher refresher, Func2 getNumericId, T[] instances) at Umbraco.Web.Cache.DistributedCache.Refresh[T](Guid factoryGuid, Func
2 getNumericId, T[] instances) at Umbraco.Web.Cache.DistributedCacheExtensions.RefreshPageCache(DistributedCache dc, IContent[] content) at Umbraco.Web.Cache.CacheRefresherEventHandler.UpdateSingleContentCache(IContent content) at Umbraco.Web.Cache.CacheRefresherEventHandler.PublishingStrategyPublished(IPublishingStrategy sender, PublishEventArgs1 e) at Umbraco.Core.Events.TypedEventHandler
2.Invoke(TSender sender, TEventArgs e) at Umbraco.Core.Events.EventExtensions.RaiseEvent[TSender,TArgs](TypedEventHandler2 eventHandler, TArgs args, TSender sender) at Umbraco.Core.Publishing.PublishingStrategy.PublishingFinalized(IContent content) at Umbraco.Core.Services.ContentService.SaveAndPublishDo(IContent content, Int32 userId, Boolean raiseEvents) at Umbraco.Core.Services.ContentService.Umbraco.Core.Services.IContentServiceOperations.SaveAndPublish(IContent content, Int32 userId, Boolean raiseEvents) at Umbraco.Core.Services.ContentService.SaveAndPublishWithStatus(IContent content, Int32 userId, Boolean raiseEvents) at Netsuite.Integration.Business.Logic.Repositories.IntegrationRepository.SaveAndPublish(String name, String netsuiteId, CustomFieldRef[] customFieldList, String parentUmbracoType, String parentNetsuiteField) in C:\Projects\DWS.Umbraco\Trunk\DWS.Umbraco7.4\DWS.Netsuite.Integration.Business.Logic\NetsuiteIntegration\IntegrationRepository.cs:line 355 at Netsuite.Integration.Business.Logic.Repositories.IntegrationRepository.UpdateItem(String searchType, NetsuiteAccount netsuiteAccount, Int32 umbracoRoot, String umbracoType, List
1 mappingsList, String integrationTableName, String customSearchId, String parentUmbracoType, String parentNetsuiteField, String isOnlineField) in C:\Projects\DWS.Umbraco\Trunk\DWS.Umbraco7.4\DWS.Netsuite.Integration.Business.Logic\NetsuiteIntegration\IntegrationRepository.cs:line 179 at DWS.Web.Controllers.IntegrationJobController.UmbracoNetsuiteIntegration(IPublishedContent job, IPublishedContent account, IEnumerable1 tasks) in C:\Projects\DWS.Umbraco\Trunk\DWS.Umbraco7.4\DWS.Web\Controllers\IntegrationJobController.cs:line 98 at DWS.Web.Controllers.IntegrationJobController.Index(RenderModel renderingPage) in C:\Projects\DWS.Umbraco\Trunk\DWS.Umbraco7.4\DWS.Web\Controllers\IntegrationJobController.cs:line 39 at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary
2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult
2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.is working on a reply...