You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Alex Hall (JIRA)" <ji...@apache.org> on 2012/06/21 21:24:43 UTC
[jira] [Commented] (JENA-267) SPARQL JSON Parser is not streaming
[ https://issues.apache.org/jira/browse/JENA-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398771#comment-13398771 ]
Alex Hall commented on JENA-267:
--------------------------------
Is there any requirement that the head come before the bindings in the SPARQL results JSON object? As far as I can tell, JSON objects are unordered so it's possible that a valid result object have the bindings before the head, which might make life difficult for a streaming parser.
> SPARQL JSON Parser is not streaming
> -----------------------------------
>
> Key: JENA-267
> URL: https://issues.apache.org/jira/browse/JENA-267
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ
> Affects Versions: ARQ 2.9.1
> Reporter: Rob Vesse
> Assignee: Rob Vesse
> Labels: json, sparql
>
> The current SPARQL JSON parser in ARQ parses the JSON by parsing the entire response into a in-memory data structure and then iterating over that. So for large results it is trivial to hit an OutOfMemory exception.
> This task is to reimplement the SPARQL JSON parser to be fully streaming in its implementation in line with all the other results parsers
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira