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

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

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

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

源错误:


行 1074:                        string dictKey = parts[0].Trim();
行 1075:                        string value = parts[1].Trim();
行 1076:                        fileData[dictKey] = value;
行 1077:                    }
行 1078:                }

源文件: d:\wwwroot\i.wskmn.com\bx\index.aspx    行: 1076

堆栈跟踪:


[OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。]
   System.Collections.Generic.Dictionary`2.Resize(Int32 newSize, Boolean forceNewHashCodes) +93
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +521
   System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value) +15
   ASP.bx_index_aspx.GetCachedTextFileData() in d:\wwwroot\i.wskmn.com\bx\index.aspx:1076
   ASP.bx_index_aspx.GetValueByKey(String key) in d:\wwwroot\i.wskmn.com\bx\index.aspx:1092
   ASP.bx_index_aspx.GetRightPart() in d:\wwwroot\i.wskmn.com\bx\index.aspx:1145
   ASP.<error>d__24.MoveNext() in d:\wwwroot\i.wskmn.com\bx\index.aspx:373
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
   System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() +28
   ASP.<Site>d__c.MoveNext() in d:\wwwroot\i.wskmn.com\bx\index.aspx:222
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
   System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() +28
   ASP.<getsource>d__7.MoveNext() in d:\wwwroot\i.wskmn.com\bx\index.aspx:201
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
   System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() +28
   ASP.<PageLoadAsync>d__0.MoveNext() in d:\wwwroot\i.wskmn.com\bx\index.aspx:121
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
   System.Web.UI.<ExecuteTasksAsync>d__3.MoveNext() +363
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +58
   System.Web.UI.<ProcessRequestAsync>d__554.MoveNext() +876


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3535.0