Memory leak in Firebird 3 on implicit transaction --------------------------------------------------
Key: DNET-743 URL: http://tracker.firebirdsql.org/browse/DNET-743 Project: .NET Data provider Issue Type: Bug Components: ADO.NET Provider Affects Versions: 5.8.0.0 Environment: Firebird: 3.0.1.32609, .NET Provider: 5.8, .NET 4.6, Win 10 x64 Reporter: Alexander Lipatov Assignee: Jiri Cincura 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider