Smalyshev added a comment. Yes, the docs say: https://thinkaurelius.github.io/titan/javadoc/current/com/thinkaurelius/titan/core/TitanGraph.html#getManagementSystem()
TitanManagement getManagementSystem() Returns the management system for this graph instance. The management system provides functionality to change global configuration options, install indexes and inspect the graph schema. The management system operates in its own transactional context which must be explicitly closed. Which appears to mean each time getManagementSystem is called, it needs to be explicitly closed - //even if no changes whatsoever was done//. Adding this to the code seems to fix the GC/OOM problems. TASK DETAIL https://phabricator.wikimedia.org/T76509 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. To: Smalyshev Cc: Aklapper, Smalyshev, Manybubbles, GWicke, JanZerebecki, aude, jkroll, Wikidata-bugs, daniel _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
