raytheonbbn / parliament

Standards-compliant triple store for RDF, OWL, and SPARQL
BSD 3-Clause "New" or "Revised" License
59 stars 4 forks source link

Make bdbCacheSize global across all graphs #29

Closed IanEmmons closed 3 years ago

IanEmmons commented 5 years ago

Currently, the bdbCacheSize configuration parameter in ParliamentKbConfig.txt controls the size of a cache that is dedicated to a single graph. This should instead configure one cache that is used across all graphs.

Implementation: Create a static BDB environment object into which every graph's b-tree is enlisted when it is initialized. Then move the cache configuration to the environment object.

IanEmmons commented 3 years ago

Implemented in pull request #48.