-
Notifications
You must be signed in to change notification settings - Fork 37
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
Tried to allocate 278 TB, ... #1309
Comments
Just an observation that you had a typo in the filter, and the query works with the typo fixed: http://qlever.wikidata.dbis.rwth-aachen.de/wikidata/vKWePT |
@tuukka - this is about the error message not the cause of the error |
@WolfgangFahl Again, I get a 404 for your links. But from the discussion (thanks, @tuukka), I can guess what the problem is. Technically, the error message is correct. Consider the following simple example. Processing this query correctly requires computing a huge cross-product. I agree that would be nice to warn the user that maybe they made a mistake when formulating the query. But it's not the primary task of a SPARQL endpoint and it can be quite hard, depending on the mistakes.
|
The above being said, a solution for this particular case might be to find out whether the query involves a cross-product (easy) and in that case add to the technically correct error message the following in parentheses:
|
Mistyping a variable can easily lead to a Cartesian-product join with a very large result, for example: https://qlever.cs.uni-freiburg.de/wikidata/h6p82D . This change provides a more helpful error message in case that happens, as suggested in #1309.
Tried to allocate 278 TB, but only 28.9 GB were available. Clear the cache or allow more memory for QLever during startup
http://qlever.wikidata.dbis.rwth-aachen.de/wikidata/C50ESd
The error message seems misleading i doubt that 278 TB of memory need to be allocated for this query.
https://qlever.cs.uni-freiburg.de/wikidata/yAMX5c
runs fine
The text was updated successfully, but these errors were encountered: