-
Notifications
You must be signed in to change notification settings - Fork 565
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
Unusually high memory consumption in SPARQL query #2147
Comments
Any feedback on this would be welcome, even it if is something like "what you do is a bad idea, because ...", "queries with many optionals are expected to use much memory in our current implementation" or "looks like a bug, but I don't have the time to look into it". |
@karlb we likely won't get time to look into performance any time soon, but if you have time to look at it, please do. We are always happy for pull requests. It may be that other stores than the default one work better. |
@karlb Is this still a problem? Can you show |
I'm currently lacking the right input files to reproduce my case. I've deleted them locally to save disk space and they are not offered for download at the moment. I'll give an update once that changes and reopen if the problem still persists. |
I am having problems with queries being killed due to exceeding the available memory on my machine. I'm using rdflib-hdt to work on a 70MB HDT file and don't see how querying that file could reasonably use up more than 10GB of RAM memory. Is there a way to deal with such a situation other than just writing simpler queries? Any way as a user to find out where the problem comes from (in an SQL query plan I would look for things like large sort buffers)?
The query I'm using is
I can provide exact code and data to reproduce this, if it is of any help. I have executed the same query successfully on the same dataset in virtuoso.
Versions used:
According to RDFLib/rdflib-hdt#17 (comment), the HDT-Store is unlikely to be the culprit.
The text was updated successfully, but these errors were encountered: