views:

42

answers:

0

Hi I have an application which throws "Exception of type 'System.OutOfMemoryException'". Which reduces the performance of the server,the CPU usage was around 95%. I dont know the reason why this problem is occuring .... can any one pls tell wats the reason for the error and how can i sort it out????

This is my stack trace:

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