You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by GitBox <gi...@apache.org> on 2022/11/10 13:23:34 UTC

[GitHub] [jena] Aklakan commented on issue #1614: Property path handling in query optimizer and timeout handler

Aklakan commented on issue #1614:
URL: https://github.com/apache/jena/issues/1614#issuecomment-1310277065

   Just a comment on this stacktrace snippet: @LorenzBuehmann mentioned that `GraphUtils.allNodes` attempts to load everything into in memory thereby ignoring query timeouts. Without having looked into this in detail, maybe its possible to mitigate this issue by using a `QueryIterDistinct`.
   ```
   at org.apache.jena.sparql.util.graph.GraphUtils.allNodes(GraphUtils.java:240)
   	at org.apache.jena.sparql.path.PathLib.determineUngroundedStartingSet(PathLib.java:245)
   	at org.apache.jena.sparql.path.PathLib.execUngroundedPath(PathLib.java:182)
   	at org.apache.jena.sparql.path.PathLib.execTriplePath(PathLib.java:128)
   	at org.apache.jena.sparql.path.PathLib.execTriplePath(PathLib.java:108)
   	at org.apache.jena.sparql.engine.iterator.QueryIterPath.nextStage(QueryIterPath.java:47)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org