Github user HansBrende commented on a diff in the pull request:
https://github.com/apache/any23/pull/121#discussion_r217041300
--- Diff:
core/src/main/java/org/apache/any23/extractor/SingleDocumentExtraction.java ---
@@ -295,6 +294,12 @@ public SingleDocumentExtractionReport
run(ExtractionParameters extractionParamet
} finally {
try {
output.endDocument(documentIRI);
+
+ // in case of workflow flag release data from model
+ if
(extractionParameters.getFlag(ExtractionParameters.EXTRACTION_WORKFLOWS_FLAG)) {
+ BufferedTripleHandler.releaseModel();
--- End diff --
This should not be a static call.
---