Memory Leak on ZUpdateSQL

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
lams
Fresh Boarder
Fresh Boarder
Posts: 22
Joined: 13.08.2008, 04:24

Memory Leak on ZUpdateSQL

Post by lams »

Hi,

I am using ZeosLib 6.6.4, D6 and Firebird 2.1 with latest http://sourceforge.net/projects/fastmm/ ... MM4%204.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.

Here is some snip from the FastMM debug log:

Code: Select all

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.
lams
Fresh Boarder
Fresh Boarder
Posts: 22
Joined: 13.08.2008, 04:24

Post by lams »

Hi,

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.

Here is some snip from the FastMM debug log:

Code: Select all

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

User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

lams,

If you don't post his to the bugtracker it will get lost!!

Mark
Image
lams
Fresh Boarder
Fresh Boarder
Posts: 22
Joined: 13.08.2008, 04:24

Post by lams »

Thanks for your remind. I have post it on bugtracker as issue 0000155.
Post Reply