You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2022/07/07 21:14:00 UTC
[jira] [Commented] (JENA-2336) DatasetGraphBase.toString does not scale (for debugging)
[ https://issues.apache.org/jira/browse/JENA-2336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17563980#comment-17563980 ]
Andy Seaborne commented on JENA-2336:
-------------------------------------
Will you be contributing a PR to address this?
{{DatasetGraphBase}} is an abstract class. What is the implementation class?
The implementation will know the best way to handle this. {{DatasetGraphBase}} provides a minimal implementation.
> DatasetGraphBase.toString does not scale (for debugging)
> --------------------------------------------------------
>
> Key: JENA-2336
> URL: https://issues.apache.org/jira/browse/JENA-2336
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ
> Reporter: Holger Knublauch
> Priority: Major
>
> When I am debugging Jena-based code and mouse-over a dataset variable, the system basically hangs. It seems that the toString() method of DatasetGraphBase is producing a complete rendering of the whole dataset using WriterGraph.output(out, this, null). And our datasets typically contain thousands of named graphs, some of which are quite large.
> This is handled much better in places such as GraphBase.toString, which terminates after a certain number of triples.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: jira-unsubscribe@jena.apache.org
For additional commands, e-mail: jira-help@jena.apache.org