Server Error in '/' Application.

Exception of type 'System.OutOfMemoryException' was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Text.StringBuilder.ToString() +29
   MS.Internal.Xml.XPath.StringFunctions.Concat(XPathNodeIterator nodeIterator) +143
   MS.Internal.Xml.XPath.StringFunctions.Evaluate(XPathNodeIterator nodeIterator) +54
   MS.Internal.Xml.XPath.StringFunctions.Contains(XPathNodeIterator nodeIterator) +32
   MS.Internal.Xml.XPath.StringFunctions.Evaluate(XPathNodeIterator nodeIterator) +113
   MS.Internal.Xml.XPath.BooleanExpr.Evaluate(XPathNodeIterator nodeIterator) +22
   MS.Internal.Xml.XPath.GroupQuery.Evaluate(XPathNodeIterator nodeIterator) +15
   MS.Internal.Xml.XPath.BooleanExpr.Evaluate(XPathNodeIterator nodeIterator) +76
   MS.Internal.Xml.XPath.FilterQuery.EvaluatePredicate() +23
   MS.Internal.Xml.XPath.FilterQuery.Advance() +4186554
   MS.Internal.Xml.XPath.XPathSelectionIterator.MoveNext() +17
   System.Xml.XPathNodeList.ReadUntil(Int32 index) +36
   System.Xml.XPathNodeList.Item(Int32 index) +25
   System.Xml.XmlNodeList.get_ItemOf(Int32 i) +10
   System.Xml.XmlNode.SelectSingleNode(String xpath) +23
   Umbraco.Core.XmlExtensions.SelectSingleNode(XmlNode source, String expression, XPathVariable[] variables) +35
   Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetSingleByXPath(UmbracoContext umbracoContext, Boolean preview, String xpath, XPathVariable[] vars) +69
   Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetSingleByXPath(Boolean preview, String xpath, XPathVariable[] vars) +46
   Umbraco.Web.Routing.ContentFinderByUrlAlias.FindContentByAlias(ContextualPublishedContentCache cache, Int32 rootNodeId, String alias) +407
   Umbraco.Web.Routing.ContentFinderByUrlAlias.TryFindContent(PublishedContentRequest docRequest) +171
   Umbraco.Web.Routing.ContentFinderByNotFoundHandlers.HandlePageNotFound(PublishedContentRequest docRequest) +627
   Umbraco.Web.Routing.ContentFinderByNotFoundHandlers.TryFindContent(PublishedContentRequest docRequest) +10
   Umbraco.Web.Routing.PublishedContentRequestEngine.<FindPublishedContent>b__2a(IContentFinder finder) +15
   System.Linq.Enumerable.Any(IEnumerable`1 source, Func`2 predicate) +151
   Umbraco.Web.Routing.PublishedContentRequestEngine.FindPublishedContent() +223
   Umbraco.Web.Routing.PublishedContentRequestEngine.FindPublishedContentAndTemplate() +195
   Umbraco.Web.Routing.PublishedContentRequestEngine.PrepareRequest() +91
   Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +306
   Umbraco.Web.UmbracoModule.<Init>b__7(Object sender, EventArgs e) +84
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272