“/”应用程序中的服务器错误。

引发类型为“System.OutOfMemoryException”的异常。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。

源错误:


行 16: 	base.channel = "news";
行 17: 	base.OnInit(e);
行 18: 	StringBuilder templateBuilder = new StringBuilder(220000);
行 19: 
行 20: 	templateBuilder.Append("");</pre></code>

                  </td>
               </tr>
            </table>

            <br>

            <b> 源文件: </b> e:\特种工\jszkck.cn\aspx\main\news_show.aspx<b>    行: </b> 18
            <br><br>

            <b>堆栈跟踪:</b> <br><br>

            <table width=100% bgcolor="#ffffcc">
               <tr>
                  <td>
                      <code><pre>

[OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。]
   System.Text.StringBuilder..ctor(String value, Int32 startIndex, Int32 length, Int32 capacity) +108
   System.Text.StringBuilder..ctor(Int32 capacity) +50
   ASP.aspx_main_news_show_aspx.OnInit(EventArgs e) in e:\特种工\jszkck.cn\aspx\main\news_show.aspx:18
   System.Web.UI.Control.InitRecursive(Control namingContainer) +166
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1598
</pre></code>

                  </td>
               </tr>
            </table>

            <br>

            <hr width=100% size=1 color=silver>

            <b>版本信息:</b> Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3905.0

            </font>

    <center>
    <form data-evt="return baiduWithHttps(this)" action="http://www.baidu.com/baidu" target="_blank">
        <input name="tn" type="hidden" value="SE_zzsearchcode_shhzc78w">
        <a target="_blank" href="https://www.baidu.com/"><img width="100px" height="22px" src="https://www.baidu.com/img/baidu_jgylogo3.gif" alt="Baidu" align="bottom" border="0"></a>
        <input type="text" data-evt="checkHttps" name="word" size="20" value="">
        <input type="submit" value="百 度" height="26px">
    </form>
    <form action="https://www.sogou.com/web" name="sf" id="sf" target="_blank">
        <a target="_blank" href="https://www.baidu.com/"><img width="100px" height="22px" src="https://www.sogou.com/web/index/images/logo_440x140.v.4.png" alt="sogou" align="bottom" border="0"></a>
        <span class="sec-input-box yuyin-cur">
            <input height="22px" type="text" class="sec-input" name="query" id="query" maxlength="100" len="80" autocomplete="off" value="">
        </span>
        <span class="enter-input"><input type="submit" id="stb" value="搜 狗" height="26px"></span>
        <input type="hidden" name="_asf" value="www.sogou.com">
        <input type="hidden" name="_ast">
        <input type="hidden" name="w" value="01019900">
        <input type="hidden" name="p" value="40040100">
        <input type="hidden" name="ie" value="utf8">
        <input type="hidden" name="from" value="index-nologin">
        <input type="hidden" name="s_from" value="index">
    </form>  
  <form id="so360form" target="_blank" action="https://www.so.com/">
        <img width="100px" height="22px" src="http://p1.qhimg.com/d/_onebox/search.png">
        <input height="22px" id="so360_keyword" type="text" name="q" autocomplete="off" value="">
        <input id="so360_submit" type="submit" value="搜 索" height="26px">
        <input type="hidden" value="utf-8" name="ie">
        <input type="hidden" value="zz" name="src">
        <input type="hidden" value="so.com" name="site">
        <input type="hidden" value="1" name="rg">
    </form>
</center></body>
</html>
<!-- 
[OutOfMemoryException]: 引发类型为“System.OutOfMemoryException”的异常。
   在 System.Text.StringBuilder..ctor(String value, Int32 startIndex, Int32 length, Int32 capacity)
   在 System.Text.StringBuilder..ctor(Int32 capacity)
   在 ASP.aspx_main_news_show_aspx.OnInit(EventArgs e) 位置 e:\特种工\jszkck.cn\aspx\main\news_show.aspx:行号 18
   在 System.Web.UI.Control.InitRecursive(Control namingContainer)
   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
[HttpUnhandledException]: 引发类型为“System.Web.HttpUnhandledException”的异常。
   在 System.Web.UI.Page.HandleError(Exception e)
   在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   在 System.Web.UI.Page.ProcessRequest()
   在 System.Web.UI.Page.ProcessRequest(HttpContext context)
   在 ASP.aspx_main_news_show_aspx.ProcessRequest(HttpContext context) 位置 c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\c8faf536\bf2d14bc\App_Web_ffmjgvzo.2.cs:行号 0
   在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--><!-- 
此错误页可能包含敏感信息,因为 ASP.NET 通过 <customErrors mode="Off"/> 被配置为显示详细错误消息。请考虑在生产环境中使用 <customErrors mode="On"/> 或 <customErrors mode="RemoteOnly"/>。-->