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

OutOfMemory errors on unlimited queries #695

Closed
gunterze opened this issue May 12, 2017 · 1 comment
Closed

OutOfMemory errors on unlimited queries #695

gunterze opened this issue May 12, 2017 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@gunterze
Copy link
Member

Probably caused by default behavior of PostgreSQL JDBC Driver:

By default the driver collects all the results for the query at once. This can be inconvenient for large data sets so the JDBC driver provides a means of basing a ResultSet on a database cursor and only fetching a small number of rows.

=> add Archive Device Attribute:

Name Type Description LDAP Attribute
Query Fetch Size integer Number of rows fetched from the database at once by the Query Service. 100 if absent dcmQueryFetchSize
@gunterze gunterze added the bug Something isn't working label May 12, 2017
@gunterze gunterze added this to the 5.10.2 milestone May 12, 2017
@gunterze gunterze self-assigned this May 12, 2017
@gunterze gunterze reopened this Jun 28, 2017
@gunterze
Copy link
Member Author

Fetch Size not effective for queries invoked outside of transaction => run query invoked by C-FIND service in transaction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant