NotEnoughMemoryForDistinctGroupBy error - how to pass a parameter to a Sail

64 views
Skip to first unread message

Βασιλείου Ζωή

unread,
Jan 20, 2021, 3:44:05 AM1/20/21
to rdf4j...@googlegroups.com
Hello all,

I am creating programmatically a Local Repository in rdf4j, I understand that this runs on top of Sail
LocalRepositoryManager manager = new LocalRepositoryManager(baseDir);
and passing the repository configuration as a config ttl, as it is described here in the section "Configure a repository programmatically" :
https://graphdb.ontotext.com/documentation/standard/configuring-a-repository.html

Since I am getting this error:

2021-01-19 22:39:25 [main] ERROR c.ontotext.trree.SailConnectionImpl - Memory limit for GroupBy/Distinct reached
com.ontotext.trree.util.NotEnoughMemoryForDistinctGroupBy: Insufficient free Heap Memory 177Mb for group by and distinct, threshold:250Mb, reached 0Mb


In graph db, I see that this flag should be passed for not getting this error: -Ddefault.min.distinct.threshold "value threshold".
Do you know which flag should be passed to Sail, and how it can be passed so as not to get this error?

Thanks,
Zoe

Bart Hanssens (BOSA)

unread,
Jan 20, 2021, 4:18:51 AM1/20/21
to rdf4j...@googlegroups.com

Hi,

 

This is probably better answered by someone from OntoText, but I assume that it cannot be changed via Sail,

and that it has to be changed on the server itself  (probably requiring a restart of the server)

 

Best regards

 

Bart

--
You received this message because you are subscribed to the Google Groups "RDF4J Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdf4j-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rdf4j-users/CALRdxEHPG%2B0dHS_9AaE6k0kJnHQCrEQ-J%2B16%3DbeB%3D58SPAjgwA%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages