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.]
   FindFirstChar12157(RegexRunner ) +0
   System.Text.RegularExpressions.CompiledRegexRunner.FindFirstChar() +12
   System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick, TimeSpan timeout) +332
   System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat) +349
   System.Text.RegularExpressions.Regex.Match(String input, Int32 startat) +25
   System.Text.RegularExpressions.Regex.Match(String input) +30
   CMS.DocumentEngine.DocumentURLProvider.BuildWildcardQueryString(String urlPath, String currentPath) +208
   CMS.DocumentEngine.PageInfoByDocumentAliasesSearcher.Search(PageInfoSearchParameters parameters, PageInfoResult& result) +297
   CMS.DocumentEngine.PageInfoDataProvider.GetDataForPageInfoForUrl(String siteName, String url, String cultureCode, String defaultAliasPath, Boolean combineWithDefaultCulture, Boolean isDocumentPage, PageInfoResult& pageResult) +398
   CMS.DocumentEngine.<>c__DisplayClass18_0.<GetPageInfoForUrl>b__0(CacheSettings cs) +68
   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
   CMS.DocumentEngine.PageInfoProvider.GetPageInfoForUrl(String url, String cultureCode, String defaultAliasPath, Boolean combineWithDefaultCulture, Boolean isDocumentPage, String siteName) +361
   CMS.URLRewritingEngine.URLRewriter.RewriteUrl(String relativePath, ExcludedSystemEnum excludedEnum, SiteNameOnDemand siteName, ViewModeOnDemand viewMode) +3839
   CMS.URLRewritingEngine.URLRewriter.RewriteUrl(RequestStatusEnum status, String relativePath, ExcludedSystemEnum excludedEnum) +61
   CMS.URLRewritingEngine.URLRewritingHandlers.RewriteUrl(Object sender, EventArgs e) +50
   CMS.Base.AbstractHandler.CallEventHandler(EventHandler`1 h, TArgs e) +110
   CMS.Base.AbstractHandler.Raise(String partName, List`1 list, TArgs e, Boolean important) +787
   CMS.Base.SimpleHandler`2.RaiseExecute(TArgs e) +99
   CMS.Base.SimpleHandler`2.RaiseExecute(TArgs e) +130
   CMS.Base.SimpleHandler`2.StartEvent(TArgs e) +189
   CMS.Base.ApplicationModule.PostResolveRequestCache(Object sender, EventArgs e) +16
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +201
   System.Web.<>c__DisplayClass285_0.<ExecuteStepImpl>b__0() +24
   System.Web.StepInvoker.Invoke(Action executionStep) +100
   System.Web.<>c__DisplayClass4_0.<Invoke>b__0() +17
   Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule.OnExecuteRequestStep(HttpContextBase context, Action step) +64
   System.Web.<>c__DisplayClass284_0.<OnExecuteRequestStep>b__0(Action nextStepAction) +55
   System.Web.StepInvoker.Invoke(Action executionStep) +84
   System.Web.<>c__DisplayClass4_0.<Invoke>b__0() +17
   Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule.OnExecuteRequestStep(HttpContextBase context, Action step) +124
   System.Web.<>c__DisplayClass284_0.<OnExecuteRequestStep>b__0(Action nextStepAction) +55
   System.Web.StepInvoker.Invoke(Action executionStep) +84
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +100
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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