Skip to content
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

Use Select list(xxx, ';') from table into :xxx cause a memory leak [CORE2301] #2725

Closed
firebird-issue-importer opened this issue Jan 30, 2009 · 8 comments

Comments

@firebird-issue-importer

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

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 30, 2009

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.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 30, 2009

Modified by: @dyemanov

Link: This issue is related to CORE1658 [ CORE1658 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 30, 2009

Commented by: @dyemanov

And I forgot to say that it's improved in v2.5.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 18, 2009

Modified by: Sean Leyne (seanleyne)

Component: Engine [ 10000 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 24, 2009

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.1.4 [ 10361 ]

Fix Version: 2.5 Beta 2 [ 10300 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Oct 24, 2009

Modified by: @dyemanov

security: Developers [ 10012 ] =>

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Nov 12, 2009

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Jan 18, 2016

Modified by: @pavel-zotov

QA Status: No test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant