You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implicit transactions in Firebird 3 cause a massive memory leak on the server part.
It is detected only on Firebird 3.
If transaction is performed manually the memory leak is not happened.
Example:
var connection = new FbConnection(connectionString);
connection.Open();
while (true)
{
using (var cmd = connection.CreateCommand())
{
cmd.CommandText = "SELECT * FROM TABLE_NAME";
cmd.ExecuteNonQuery();
}
}
I fixed this issue as follows:
The calls isc_commit_transaction and isc_dsql_free_statement was swapped.
The text was updated successfully, but these errors were encountered:
Submitted by: Alexander Lipatov (diverdw)
Depends on CORE5416
Implicit transactions in Firebird 3 cause a massive memory leak on the server part.
It is detected only on Firebird 3.
If transaction is performed manually the memory leak is not happened.
Example:
var connection = new FbConnection(connectionString);
connection.Open();
while (true)
{
using (var cmd = connection.CreateCommand())
{
cmd.CommandText = "SELECT * FROM TABLE_NAME";
cmd.ExecuteNonQuery();
}
}
I fixed this issue as follows:
The calls isc_commit_transaction and isc_dsql_free_statement was swapped.
The text was updated successfully, but these errors were encountered: