Exception of type 'System.OutOfMemoryException' was thrown.

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.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) +29
   System.Text.StringBuilder.GetNewString(String currentString, Int32 requiredLength) +69
   System.Text.StringBuilder.Append(String value) +97
   System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat) +243
   System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator, Int32 count, Int32 startat) +28
   System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator) +38
   CMS.GlobalHelper.HTMLHelper.HTMLEncode(String inputText) in C:\Projects\Kentico\GlobalHelper\Markup\HTMLHelper.cs:987
   CMS.Controls.CMSListMenu.GetItems(Int32 parentNodeId, Int32 indentLevel) in C:\Projects\Kentico\CMSControls\Navigation\CMSListMenu.cs:757
   CMS.Controls.CMSListMenu.GetItems(Int32 parentNodeId, Int32 indentLevel) in C:\Projects\Kentico\CMSControls\Navigation\CMSListMenu.cs:1143
   CMS.Controls.CMSListMenu.ReloadData(Boolean forceLoad) in C:\Projects\Kentico\CMSControls\Navigation\CMSListMenu.cs:538
   CMS.Controls.CMSListMenu.OnInit(EventArgs e) in C:\Projects\Kentico\CMSControls\Navigation\CMSListMenu.cs:426
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Control.InitRecursive(Control namingContainer) +210
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082