Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Darrell Frazier 1 post 71 karma points
    Dec 07, 2016 @ 16:36
    Darrell Frazier
    0

    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, 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.

Please Sign in or register to post replies

Write your reply to:

Draft