While compiling Tagsistant you can choose to enable some experimental features by editing tagsistant.h in the src/ directory. The flags are those reported by the stats/configuration file in the compile flags section.
The only four flags you are supposed to tweak are:
- TAGSISTANT_ENABLE_QUERYTREE_CACHE
- TAGSISTANT_ENABLE_TAG_ID_CACHE
- TAGSISTANT_ENABLE_AND_SET_CACHE
- TAGSISTANT_ENABLE_REASONER_CACHE
Their purpose is to enable some caching layers to dramatically reduce the volume of SQL queries done. While the second and the third are stable and don't cause too much memory consumption, so being safely enabled on production, the first (the querytree cache) can cause Tagsistant to exhaust memory during huge data loading, so if you experience that problem, try disabling query tree cache.
The suggested configuration is:
TAGSISTANT_ENABLE_QUERYTREE_CACHE: 1
TAGSISTANT_ENABLE_TAG_ID_CACHE: 1
TAGSISTANT_ENABLE_AND_SET_CACHE: 0
TAGSISTANT_ENABLE_REASONER_CACHE: 0
Change it at your own risk.