Issue Details (XML | Word | Printable)

Key: CORE-2675
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dmitry Yemanov
Reporter: Dmitry Yemanov
Votes: 3
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Small memory leak per every blob transliteration

Created: 12/Oct/09 03:41 PM   Updated: 04/Feb/11 11:24 AM
Component/s: Engine
Affects Version/s: 2.0.0, 1.5.4, 2.0.1, 2.0.2, 2.0.3, 1.5.5, 2.1.0, 2.0.4, 2.5 Alpha 1, 2.1.1, 2.0.5, 2.1.2, 2.5 Beta 1, 2.5 Beta 2, 2.1.3
Fix Version/s: 2.5 RC1, 2.1.4, 3.0 Alpha 1

Time Tracking:
Not Specified

Planning Status: Unspecified


 Description  « Hide
The blob filter responsible for text transliteration between different charsets is not cached and it seems being re-allocated per every transliteration request.

Test case:

set transaction;
set term ^;

execute block
as
  declare i int = 10000;
  declare v int;
begin
  while (i > 0) do in autonomous transaction do begin
    execute statement 'select first 1 mon$statement_id from mon$statements' into :v;
    i = i - 1;
  end
end^

commit^

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.