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.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method) +0
   System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType, Object target) +38
   System.Linq.Expressions.Compiler.LambdaCompiler.CreateDelegate() +81
   System.Linq.Expressions.Compiler.LambdaCompiler.Compile(LambdaExpression lambda, DebugInfoGenerator debugInfoGenerator) +138
   System.Linq.Expressions.Expression`1.Compile() +12
   System.Linq.EnumerableExecutor`1.Execute() +83
   System.Linq.EnumerableExecutor`1.ExecuteBoxed() +5
   System.Linq.EnumerableQuery`1.System.Linq.IQueryProvider.Execute(Expression expression) +90
   CMS.DataEngine.CMSQueryProvider`1.LinqToObjectsFallback(Expression expression, IEnumerable source, IQueryable`1& result, IEnumerable newSource) +242
   CMS.DataEngine.CMSQueryProvider`1.CreateQueryInternal(Expression expression) +614
   CMS.DataEngine.CMSQueryProvider`1.CreateQuery(Expression expression) +91
   System.Linq.Queryable.Where(IQueryable`1 source, Expression`1 predicate) +249
   Zurn.Web.Zurn.App_Code.Navigation.NavigationHelper.LoadNavigationInformation(String siteName, String cultureCode) in D:\a\1\s\CMS\Zurn\App_Code\Navigation\NavigationHelper.cs:41
   Zurn.Web.Zurn.App_Code.Navigation.<>c__DisplayClass5_0.<.ctor>b__0(CacheSettings x) in D:\a\1\s\CMS\Zurn\App_Code\Navigation\NavigationHelper.cs:29
   CMS.Helpers.<>c__DisplayClass83_0`1.<Cache>b__0(CacheSettings s) +13
   CMS.Helpers.CachedSection`1.LoadDataHandled(Func`2 loadMethod) +109
   CMS.Helpers.CacheHelper.Cache(Func`2 loadMethod, CacheSettings settings) +192
   Zurn.Web.Zurn.App_Code.Navigation.NavigationHelper..ctor(String siteName, String cultureCode) in D:\a\1\s\CMS\Zurn\App_Code\Navigation\NavigationHelper.cs:29
   Zurn.Web.Zurn.UserControls.Navigation.MegaMenu.get_NavigationHelper() in D:\a\1\s\CMS\Zurn\UserControls\Navigation\MegaMenu.ascx.cs:31
   Zurn.Web.Zurn.UserControls.Navigation.MegaMenu.SetupControl() in D:\a\1\s\CMS\Zurn\UserControls\Navigation\MegaMenu.ascx.cs:40
   Zurn.Web.Zurn.UserControls.Navigation.MegaMenu.Page_Load(Object sender, EventArgs e) in D:\a\1\s\CMS\Zurn\UserControls\Navigation\MegaMenu.ascx.cs:21
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
   System.Web.UI.Control.OnLoad(EventArgs e) +79
   CMS.Base.Web.UI.AbstractUserControl.OnLoad(EventArgs e) +42
   CMS.PortalEngine.Web.UI.CMSAbstractWebPart.OnLoad(EventArgs e) +1037
   System.Web.UI.Control.LoadRecursive() +130
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2847


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