-
-
Notifications
You must be signed in to change notification settings - Fork 233
Use Select list(xxx, ';') from table into :xxx cause a memory leak [CORE2301] #2725
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
Comments
Commented by: @dyemanov Does your table contain ~500K rows? This is a known issue and I don't think it's related to a stored procedure. The LIST function returns a blob. Every temporary blob occupies a <page size> bytes of memory. When called multiple times, this memory consumption increases. The memory is freed upon transaction commit or rollback. |
Commented by: @dyemanov And I forgot to say that it's improved in v2.5. |
Modified by: Sean Leyne (seanleyne)Component: Engine [ 10000 ] |
Modified by: @dyemanovstatus: Open [ 1 ] => Resolved [ 5 ] resolution: Fixed [ 1 ] Fix Version: 2.1.4 [ 10361 ] Fix Version: 2.5 Beta 2 [ 10300 ] |
Modified by: @dyemanovsecurity: Developers [ 10012 ] => |
Modified by: @pcisarstatus: Resolved [ 5 ] => Closed [ 6 ] |
Modified by: @pavel-zotovQA Status: No test |
Submitted by: Alfonso Presa (foncci)
Is related to CORE1658
This line:
select list(barcode) from PRODUCTOS_BARCODES where id_prod=:ID_PROD into :BARCODE;
makes FBServer process grows up to 2000 mgb if it is used in an stored proc but I have not seen the same problem when used in a view for example.
I have read many issues regarding with it but no one talking about stored procs.
Regards,
Al
The text was updated successfully, but these errors were encountered: