我有一个应用程序抛出“'System.OutOfMemoryException' 类型的异常”。这降低了服务器的性能,CPU 使用率在 95% 左右。我不知道为什么会出现这个问题....任何人都可以告诉 wats 错误的原因,我该如何解决??
这是我的堆栈跟踪:
Message
Exception of type 'System.OutOfMemoryException' was thrown.
Source
MySql.Data
Stack
at MySql.Data.MySqlClient.MySqlParameterCollection..ctor() at
MySql.Data.MySqlClient.MySqlCommand..ctor() at
MySql.Data.MySqlClient.MySqlConnection.CreateDbCommand() at
System.Data.Common.DbConnection.System.Data.IDbConnection.CreateCommand() at
IBatisNet.Common.DbProvider.CreateDataParameter() at
IBatisNet.DataMapper.SqlMapSession.CreateDataParameter() at
IBatisNet.DataMapper.Configuration.Statements.PreparedStatementFactory.CreateParametersForTextCommand() at IBatisNet.DataMapper