I used the Jena to load, on behalf of Fuseki, a collection of owl files.
There might be 4gb of data all totaled in there.

Now, rather than use Fuseki to access that data, I am writing code which
will use a Dataset opened against that database to create an OntModel.

I use this code, taken from a variety of sources:

Dataset dataset = TDBFactory.createDataset(dbPath) ;

where dbPath points to the directory where Jena made the database.

When I boot Fuseki against that data, it boots quickly and without any
issues.

When I run that code against the same data, firstly, it blossoms a logfile
> 260 mb, showing all the ont classes it is reading. Then, it runs out of
heap space and crashes.

My question is this: is Dataset trying to make an in-memory image of the
entire database?

If so, how can I get a Dataset which does not need to read the entire
database?

Many thanks in advance for ideas.

Jack

Reply via email to