Issue Details (XML | Word | Printable)

Key: CORE-1658
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: Dmitry Yemanov
Votes: 0
Watchers: 1

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

Avoid memory consumption of <page size> bytes per every temporary blob

Created: 19/Dec/07 09:11 AM   Updated: 19/Jan/16 05:02 AM
Component/s: Engine
Affects Version/s: 2.1 Beta 2
Fix Version/s: 2.5 Alpha 1, 2.1.4

Issue Links:

Target: 2.5.0
QA Status: No test

 Description  « Hide
Every blob contains a buffer of <page size> bytes allocated out of the engine heap, even if its size is actually smaller. For example, this query:

select cast('a' as blob sub_type text) from <really big table>

can easily cause a system swap or even a FB server crash due to out-of-memory condition.

This was discussed in fb-devel. I think we should find a way to reduce memory consumption for small temporary blobs, or maybe always store the level-0 blob data in the temporary space instead of the heap.

I'm scheduling this RFE for v2.5.

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