鈥?鈥濆簲鐢ㄧ▼搴忎腑鐨勬湇鍔″櫒閿欒銆侟hr width=100% size=1 color=silver>

寮曞彂绫诲瀷涓衡€淪ystem.OutOfMemoryException鈥濈殑寮傚父銆侟/i>

璇存槑: 鎵ц褰撳墠 Web 璇锋眰鏈熼棿锛屽嚭鐜版湭缁忓鐞嗙殑寮傚父銆傝妫€鏌ュ爢鏍堣窡韪俊鎭紝浠ヤ簡瑙f湁鍏宠閿欒浠ュ強浠g爜涓鑷撮敊璇殑鍑哄鐨勮缁嗕俊鎭€

寮傚父璇︾粏淇℃伅: System.OutOfMemoryException: 寮曞彂绫诲瀷涓衡€淪ystem.OutOfMemoryException鈥濈殑寮傚父銆侟br>
婧愰敊璇?

鎵ц褰撳墠 Web 璇锋眰鏈熼棿鐢熸垚浜嗘湭缁忓鐞嗙殑寮傚父銆傚彲浠ヤ娇鐢ㄤ笅闈㈢殑寮傚父鍫嗘爤璺熻釜淇℃伅纭畾鏈夊叧寮傚父鍘熷洜鍜屽彂鐢熶綅缃殑淇℃伅銆

鍫嗘爤璺熻釜:


[OutOfMemoryException: 寮曞彂绫诲瀷涓衡€淪ystem.OutOfMemoryException鈥濈殑寮傚父銆俔
   MySql.Data.MySqlClient.MySqlPacket.ReadString(Int64 length) +84
   MySql.Data.Types.MySqlString.MySql.Data.Types.IMySqlValue.ReadValue(MySqlPacket packet, Int64 length, Boolean nullVal) +154
   MySql.Data.MySqlClient.NativeDriver.ReadColumnValue(Int32 index, MySqlField field, IMySqlValue valObject) +169
   MySql.Data.MySqlClient.ResultSet.get_Item(Int32 index) +129
   MySql.Data.MySqlClient.MySqlDataReader.GetFieldValue(Int32 index, Boolean checkNull) +39
   MySql.Data.MySqlClient.MySqlDataReader.GetValue(Int32 i) +66
   MySql.Data.MySqlClient.MySqlDataReader.get_Item(Int32 i) +10
   Deserializeeec3031a-d100-4a29-a2bc-cd0d28a5862c(IDataReader ) +1270

[DataException: Error parsing column 9 (ContentPC= - String)]
   Dapper.SqlMapper.ThrowDataException(Exception ex, Int32 index, IDataReader reader, Object value) in E:\婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆code\0.Libraries\SqlMapper\SqlMapper.cs:4187
   Deserializeeec3031a-d100-4a29-a2bc-cd0d28a5862c(IDataReader ) +3787
   Dapper.d__62`1.MoveNext() in E:\婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆code\0.Libraries\SqlMapper\SqlMapper.cs:1638
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +186
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +61
   Dapper.SqlMapper.Query(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in E:\婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆code\0.Libraries\SqlMapper\SqlMapper.cs:1509
   JWCMS.MysqlDAL.ContentDAL.ReadPage(Int32 categoryId) in E:\婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆code\1.Service\JWCMS.MysqlDAL\ContentDAL.cs:69
   JWCMS.Business.ContentBLL.ReadPage(Int32 categoryId) in E:\婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆code\1.Service\JWCMS.Business\ContentBLL.cs:58
   JWCMS.Page.Controllers.HomeController.Show(Int32 id, Nullable`1 Page) in E:\婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆婀栧崡鐪佸浗閿︽箻瀹夊疄涓氭湁闄愬叕鍙竆code\2.Client\JWCMS.Web\Page\Controllers\HomeController.cs:674
   lambda_method(Closure , ControllerBase , Object[] ) +146
   System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +182
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
   System.Web.Mvc.Async.<>c__DisplayClass42.b__41() +28
   System.Web.Mvc.Async.<>c__DisplayClass8`1.b__7(IAsyncResult _) +10
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
   System.Web.Mvc.Async.<>c__DisplayClass39.b__33() +58
   System.Web.Mvc.Async.<>c__DisplayClass4f.b__49() +228
   System.Web.Mvc.Async.<>c__DisplayClass37.b__36(IAsyncResult asyncResult) +10
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
   System.Web.Mvc.Async.<>c__DisplayClass2a.b__20() +24
   System.Web.Mvc.Async.<>c__DisplayClass25.b__22(IAsyncResult asyncResult) +99
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
   System.Web.Mvc.<>c__DisplayClass1d.b__18(IAsyncResult asyncResult) +14
   System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +16
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +36
   System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +16
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +26
   System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
   System.Web.Mvc.<>c__DisplayClass8.b__3(IAsyncResult asyncResult) +25
   System.Web.Mvc.Async.<>c__DisplayClass4.b__3(IAsyncResult ar) +16
   System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +28
   System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9847493
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163


鐗堟湰淇℃伅: Microsoft .NET Framework 鐗堟湰:4.0.30319; ASP.NET 鐗堟湰:4.8.4110.0