New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid memory consumption of <page size> bytes per every temporary blob [CORE1658] #2083
Comments
Modified by: @asfernandesstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.5 Alpha 1 [ 10224 ] |
Modified by: @pcisarWorkflow: jira [ 13701 ] => Firebird [ 13943 ] |
Modified by: @asfernandesFix Version: 2.1.4 [ 10361 ] |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @asfernandes |
Modified by: @pavel-zotovQA Status: No test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Submitted by: @dyemanov
Relate to CORE2301
Is related to CORE3948
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.
Commits: 056f0ff 9906828 ac2e066
The text was updated successfully, but these errors were encountered: