And the FastMM4 fulldebugmode report hugh memory leak on ZeosLib components. I have write a very simple test app using Firebird 2.1 default Employee sample database as test case and get the same memory leak result.
I have attach the test project and my FastMM FastMM4Options.inc which include the debug mode settings.
A memory block has been leaked. The size is: 20
This block was allocated by thread 0xD78, and the stack trace (return addresses) at the time was:
402B8B [system.pas][System][@GetMem][2450]
4EF168 [ZDbcInterbase6ResultSet.pas][ZDbcInterbase6ResultSet][TZInterbase6ResultSet.Create][193]
4F10FE [ZDbcInterbase6Statement.pas][ZDbcInterbase6Statement][TZInterbase6PreparedStatement.ExecuteQueryPrepared][575]
53B5F6 [ZSqlUpdate.pas][ZSqlUpdate][TZUpdateSQL.PostUpdates][829]
4A6776 [ZDbcCachedResultSet.pas][ZDbcCachedResultSet][TZAbstractCachedResultSet.PostRowUpdates][434]
530D19 [ZAbstractDataset.pas][ZAbstractDataset][TZAbstractDataset.InternalUpdate][378]
531018 [ZAbstractDataset.pas][ZAbstractDataset][TZAbstractDataset.InternalPost][465]
48A0F8 [DB.pas][DB][TDataSet.CheckOperation][10371]
489DAC [DB.pas][DB][TDataSet.Post][10228]
484FD4 [DB.pas][DB][TDataLink.MoveBy][7399]
550347 [DBGrids.pas][DBGrids][NextRow][3047]
The block is currently used for an object of class: Unknown
The allocation number is: 8007
You do not have the required permissions to view the files attached to this post.
I am using ZeosLib 6.6.4, D6 and Firebird 2.1 with latest FastMM4 4.90
And the FastMM4 fulldebugmode report hugh memory leak on ZeosLib components. I have write a very simple test app using Firebird 2.1 default Employee sample database as test case and get the same memory leak result.
I have attach the test project and my FastMM FastMM4Options.inc which include the debug mode settings.
A memory block has been leaked. The size is: 20
This block was allocated by thread 0xD78, and the stack trace (return addresses) at the time was:
402B8B [system.pas][System][@GetMem][2450]
4EF168 [ZDbcInterbase6ResultSet.pas][ZDbcInterbase6ResultSet][TZInterbase6ResultSet.Create][193]
4F10FE [ZDbcInterbase6Statement.pas][ZDbcInterbase6Statement][TZInterbase6PreparedStatement.ExecuteQueryPrepared][575]
53B5F6 [ZSqlUpdate.pas][ZSqlUpdate][TZUpdateSQL.PostUpdates][829]
4A6776 [ZDbcCachedResultSet.pas][ZDbcCachedResultSet][TZAbstractCachedResultSet.PostRowUpdates][434]
530D19 [ZAbstractDataset.pas][ZAbstractDataset][TZAbstractDataset.InternalUpdate][378]
531018 [ZAbstractDataset.pas][ZAbstractDataset][TZAbstractDataset.InternalPost][465]
48A0F8 [DB.pas][DB][TDataSet.CheckOperation][10371]
489DAC [DB.pas][DB][TDataSet.Post][10228]
484FD4 [DB.pas][DB][TDataLink.MoveBy][7399]
550347 [DBGrids.pas][DBGrids][NextRow][3047]
The block is currently used for an object of class: Unknown
The allocation number is: 8007