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:


Line 110:                @RenderSection("featured", required: false)
Line 111:                <section class="content-wrapper main-content clear-fix">
Line 112:                    @RenderBody()
Line 113:                </section>
Line 114:            </div>

Source File: c:\Inetpub\vhosts\21741437491.thesite.link\ktimamessinia.gr\_SiteLayout.cshtml    Line: 112

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Text.StringBuilder.ExpandByABlock(Int32 minBlockCharCount) +166
   System.Text.StringBuilder.Append(Char* value, Int32 valueCount) +84
   System.Text.StringBuilder.AppendHelper(String value) +32
   System.Text.StringBuilder.Append(String value) +192
   System.IO.StringWriter.Write(String value) +31
   System.Web.WebPages.<>c__DisplayClass2.<PopContext>b__0(TextWriter w) +17
   System.Web.WebPages.WebPageBase.<RenderBody>b__4(TextWriter tw) +10
   System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +10
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +80
   ASP._Page__SiteLayout_cshtml.Execute() in c:\Inetpub\vhosts\21741437491.thesite.link\ktimamessinia.gr\_SiteLayout.cshtml:112
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +69
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +131
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +90
   System.Web.WebPages.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer) +231
   System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +10
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +80
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +64
   System.Web.WebPages.WebPageBase.PopContext() +263
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +98
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +116


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