I have a repeating memory leak in TDB in my web application (
https://github.com/jmvanel/semantic_forms/blob/master/scala/forms_play/README.md
).
It is caching RDF documents from internet, typically dbpedia ressources.

It is not the use case described in "Fuseki/TDB memory leak for concurrent
updates/queries" https://issues.apache.org/jira/browse/JENA-689 , as the
journal is empty after crash .

A single Dataset object is used for the duration of the application, and I
suspect this is the root cause.
In the documentation,

https://jena.apache.org/documentation/tdb/tdb_transactions.html#multi-threaded-use

it is not clear which use pattern is preferred and the reason why.

You someone confirm that keeping a single Dataset object for the duration
of the application is bad ?

Reply via email to