You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2018/11/17 18:51:00 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=16690668#comment-16690668 ] 

Andy Seaborne commented on JENA-267:
------------------------------------

The only TODO (Nov 2018) in the code says "Streaming version of JSON Result set processing". Looks to me like this ticket is done.



> 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
>            Priority: Major
>              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 was sent by Atlassian JIRA
(v7.6.3#76005)