I'm using Apache Jena TDB to load many files for future reference, when I load using the
getDefaultModel method (default model), everything happens normally, but when I try to use a named model the process gets very slow and the CPU reaches 100%, sometimes memory overflow occurs.
Can anyone tell me the difference between the default model and the named model?
I can not understand the difference and I think they should have the same behavior.
model = dataset.getDefaultModel(); TDBLoader.loadModel(model, file.getAbsolutePath());
public static final String ALL_STORAGE = "http://instance/allstorage"; model = dataset.getNamedModel(ALL_STORAGE) ; TDBLoader.loadModel(model, file.getAbsolutePath());