When querying a database, the memory usage of terminus-server keeps growing. This occurs on the dev branch with the terminus-store backend.
==1408== 39,312 bytes in 1 blocks are still reachable in loss record 4,049 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5E9AE: do_init_atoms (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E6515C: PL_new_atom (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5CD68: PL_register_blob_type (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EFE9FF: initReservedSymbols (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5EB38: do_init_atoms (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E6515C: PL_new_atom (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F2C681: setPrologFlag (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E6DFAD: PL_set_prolog_flag (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF42AD: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 39,312 bytes in 1 blocks are possibly lost in loss record 4,050 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5E9AE: do_init_atoms (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E6515C: PL_new_atom (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F2C681: setPrologFlag (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E6DFAD: PL_set_prolog_flag (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF42AD: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 39,936 bytes in 18 blocks are still reachable in loss record 4,051 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F10A: htable_alloc_kvs (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F47F: htable_put (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F891: addHTable (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB923A: lookupProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDB3F5: loadXRc (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDBE20: loadPredicate (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 41,400 bytes in 1,035 blocks are still reachable in loss record 4,052 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9BB28: lookupFunctorDef (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EAAB96: pl_functor3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6C2B: callProlog (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F08067: pl_with_mutex (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79F63: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6C2B: callProlog (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6E3C: pl_notrace1_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EBB0F1: trapUndefined (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 41,472 bytes in 432 blocks are still reachable in loss record 4,053 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB9186: lookupProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EBB445: pl_get_predicate_attribute (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79FA5: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E6D8AC: PL_toplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108724: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 41,760 bytes in 1,740 blocks are still reachable in loss record 4,054 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB8B75: newClauseRef (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB8C11: assertProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDBE90: loadPredicate (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDD25B: loadWicFromStream (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 41,984 bytes in 8 blocks are still reachable in loss record 4,055 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F10A: htable_alloc_kvs (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F47F: htable_put (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F891: addHTable (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB923A: lookupProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E8DCC5: compileSubClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9399F: compileBody (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E94FFC: compileClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95BCE: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E96136: record_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E961C9: pl_record_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 42,744 bytes in 137 blocks are possibly lost in loss record 4,056 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0xA25005B: alloc::alloc::alloc::he71f6672ff69332a (alloc.rs:84)
==1408== by 0xA24FFCB: alloc::alloc::exchange_malloc::h46527e14373cbbb6 (alloc.rs:206)
==1408== by 0xA1844FF: new<terminus_store::layer::child::ChildSubjectLookup<terminus_store::storage::directory::SharedMmap>> (boxed.rs:121)
==1408== by 0xA1844FF: _$LT$terminus_store..layer..child..ChildLayer$LT$M$GT$$u20$as$u20$terminus_store..layer..layer..Layer$GT$::lookup_subject::h0c968e5564fb6aac (child.rs:378)
==1408== by 0xA34C2AA: _$LT$terminus_store..store..StoreLayer$u20$as$u20$terminus_store..layer..layer..Layer$GT$::lookup_subject::hc31873af51cae373 (mod.rs:205)
==1408== by 0xA5BEC30: _$LT$terminus_store..store..sync..SyncStoreLayer$u20$as$u20$terminus_store..layer..layer..Layer$GT$::lookup_subject::hf2365060bef0b9b4 (sync.rs:163)
==1408== by 0xA284D7D: layer_lookup_subject (lib.rs:351)
==1408== by 0x9EB2A6B: pl_layer_lookup_subject (terminus_store.c:589)
==1408== by 0x4E79FA5: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6C2B: callProlog (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EE5A3B: start_thread (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x60384A3: start_thread (pthread_create.c:456)
==1408==
==1408== 44,032 bytes in 10 blocks are still reachable in loss record 4,057 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F10A: htable_alloc_kvs (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F47F: htable_put (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F891: addHTable (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB923A: lookupProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E8DCC5: compileSubClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9399F: compileBody (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9396F: compileBody (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E94FFC: compileClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95BCE: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E96136: record_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 44,032 bytes in 56 blocks are still reachable in loss record 4,058 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F10A: htable_alloc_kvs (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F47F: htable_put (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F901: updateHTable (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EA9135: exportProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EA92D8: export_pi (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EA92F0: pl_export1_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 46,608 bytes in 1,942 blocks are still reachable in loss record 4,059 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB8B75: newClauseRef (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E616D2: addClauseBucket (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E618AD: addClauseToIndex (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E61BC0: hashDefinition (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E62368: first_clause_guarded (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E636FA: firstClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E7B4D8: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 47,104 bytes in 7 blocks are still reachable in loss record 4,060 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F10A: htable_alloc_kvs (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F47F: htable_put (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F891: addHTable (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB923A: lookupProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95E06: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E96136: record_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E961C9: pl_record_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 49,152 bytes in 1 blocks are possibly lost in loss record 4,061 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5C628: allocateAtomBlock.part.6 (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D474: lookupBlob (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D6F4: lookupAtom (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9A5DD: registerBuiltins (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9A908: initBuildIns (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4ED0CCC: setupProlog (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF42B2: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 49,248 bytes in 2 blocks are still reachable in loss record 4,062 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E61ACD: hashDefinition (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E62368: first_clause_guarded (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E636FA: firstClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E7B4D8: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EBB0F1: trapUndefined (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E72C10: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 49,440 bytes in 56 blocks are still reachable in loss record 4,063 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E61ACD: hashDefinition (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E62368: first_clause_guarded (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E636FA: firstClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E7B4D8: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 54,643 bytes in 1 blocks are still reachable in loss record 4,064 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E8D2C8: initWamTable (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4ED0B9E: setupProlog (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF42B2: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 56,952 bytes in 113 blocks are still reachable in loss record 4,065 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0xA66B22B: alloc::alloc::alloc::h5720529faf6a4289 (alloc.rs:84)
==1408== by 0xA66B19B: alloc::alloc::exchange_malloc::h96e4bb19607190fc (alloc.rs:206)
==1408== by 0xA677F65: new<crossbeam_queue::seg_queue::Block<alloc::sync::Arc<tokio_threadpool::task::Task>>> (boxed.rs:121)
==1408== by 0xA677F65: crossbeam_queue::seg_queue::SegQueue$LT$T$GT$::push::h60912bed1aa34d4c (seg_queue.rs:201)
==1408== by 0xA68D264: tokio_threadpool::worker::entry::WorkerEntry::remotely_complete_task::hb324e0f074062ccf (entry.rs:266)
==1408== by 0xA69BA66: tokio_threadpool::worker::Worker::run_task::h1ecf2a8dd4e7574e (mod.rs:515)
==1408== by 0xA69AEDF: tokio_threadpool::worker::Worker::try_steal_task::hbf0e24cb88f05cbd (mod.rs:416)
==1408== by 0xA69A4B9: tokio_threadpool::worker::Worker::try_run_task::h54601ba776355230 (mod.rs:301)
==1408== by 0xA69A2F5: tokio_threadpool::worker::Worker::run::ha620171d3f5df792 (mod.rs:241)
==1408== by 0xA61BA9B: tokio::runtime::threadpool::builder::Builder::build::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hf1a0f86368d24d90 (builder.rs:390)
==1408== by 0xA629E3B: tokio_timer::timer::handle::with_default::_$u7b$$u7b$closure$u7d$$u7d$::h7f92321d998b87fc (handle.rs:101)
==1408== by 0xA627C63: std::thread::local::LocalKey$LT$T$GT$::try_with::h0591efca88fdf8c2 (local.rs:262)
==1408==
==1408== 58,544 bytes in 3,659 blocks are still reachable in loss record 4,066 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EEE291: addProcedureSourceFile (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95CB0: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E96136: record_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E961C9: pl_record_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 59,920 bytes in 1,498 blocks are still reachable in loss record 4,067 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9BB28: lookupFunctorDef (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC05F9: build_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC5B14: simple_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC6FFB: complex_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC7A2A: read_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC90E0: read_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC9374: pl_read_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 64,416 bytes in 671 blocks are still reachable in loss record 4,068 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB9186: lookupProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E8DCC5: compileSubClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9399F: compileBody (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E94FFC: compileClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95BCE: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E96136: record_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E961C9: pl_record_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 64,524 bytes in 6,007 blocks are still reachable in loss record 4,069 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D4D8: lookupBlob (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D6F4: lookupAtom (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC448C: get_token__LD.part.37 (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC4EBB: simple_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC6FFB: complex_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC7A2A: read_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC90E0: read_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC9374: pl_read_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 64,800 bytes in 675 blocks are still reachable in loss record 4,070 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB9186: lookupProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95E06: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E96136: record_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E961C9: pl_record_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 65,536 bytes in 1 blocks are still reachable in loss record 4,071 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F10A: htable_alloc_kvs (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F47F: htable_put (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F891: addHTable (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F931: addNewHTable (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB7F06: importDefinitionModule (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDD25B: loadWicFromStream (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 65,536 bytes in 1 blocks are still reachable in loss record 4,072 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9B755: rehashFunctors.part.0 (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9BADE: lookupFunctorDef (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB4E49: pl_univ2_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E6D8AC: PL_toplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108724: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 65,536 bytes in 1 blocks are definitely lost in loss record 4,073 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9B94F: registerFunctor (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9BC9A: lookupFunctorDef (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC05F9: build_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC5B14: simple_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC6FFB: complex_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC7A2A: read_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC90E0: read_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC9374: pl_read_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 65,544 bytes in 1 blocks are still reachable in loss record 4,074 of 4,104
==1408== at 0x4C2DDCF: realloc (vg_replace_malloc.c:785)
==1408== by 0x4ED0708: stack_realloc (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9FCA3: growStacks (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4ECF053: pl_trim_stacks0_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E6D8AC: PL_toplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108724: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 69,360 bytes in 68 blocks are still reachable in loss record 4,075 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x111EA983: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.55)
==1408== by 0x111EB281: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.55)
==1408== by 0x111EB4D7: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.55)
==1408== by 0x111E0CA9: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.55)
==1408== by 0x111E0DC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.55)
==1408== by 0x10FD2378: pl_wrap (in /usr/lib/swipl/lib/x86_64-linux/libedit4pl.so)
==1408== by 0x4E79FEC: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E6D8AC: PL_toplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108724: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 69,360 bytes in 68 blocks are still reachable in loss record 4,076 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x111EAA23: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.55)
==1408== by 0x111EB281: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.55)
==1408== by 0x111EB4D7: ??? (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.55)
==1408== by 0x111E0CA9: el_init_fd (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.55)
==1408== by 0x111E0DC4: el_init (in /usr/lib/x86_64-linux-gnu/libedit.so.2.0.55)
==1408== by 0x10FD2378: pl_wrap (in /usr/lib/swipl/lib/x86_64-linux/libedit4pl.so)
==1408== by 0x4E79FEC: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E6D8AC: PL_toplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108724: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 75,376 bytes in 1,346 blocks are possibly lost in loss record 4,077 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0xA25005B: alloc::alloc::alloc::he71f6672ff69332a (alloc.rs:84)
==1408== by 0xA24FFCB: alloc::alloc::exchange_malloc::h46527e14373cbbb6 (alloc.rs:206)
==1408== by 0xA281C29: new<terminus_store::store::sync::SyncStoreLayer> (boxed.rs:121)
==1408== by 0xA281C29: named_graph_get_head (lib.rs:92)
==1408== by 0x9EB194C: pl_head (terminus_store.c:76)
==1408== by 0x4E79F63: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6C2B: callProlog (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EE5A3B: start_thread (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x60384A3: start_thread (pthread_create.c:456)
==1408==
==1408== 77,066 bytes in 1,562 blocks are possibly lost in loss record 4,078 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0xA6FF59B: alloc::alloc::alloc::hd4aea4183502f317 (alloc.rs:84)
==1408== by 0xA6FF381: _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Alloc$GT$::alloc::h480641302563a5de (alloc.rs:172)
==1408== by 0xA6FD4F1: alloc::raw_vec::RawVec$LT$T$C$A$GT$::allocate_in::hdf0c932391516013 (raw_vec.rs:98)
==1408== by 0xA6FD315: alloc::raw_vec::RawVec$LT$T$GT$::with_capacity::he59c15e7bbc32409 (raw_vec.rs:142)
==1408== by 0xA6FB7D3: alloc::vec::Vec$LT$T$GT$::with_capacity::h01034cb82ca16857 (vec.rs:356)
==1408== by 0xA6FBEE0: alloc::slice::hack::to_vec::ha47e2e0d5411d604 (slice.rs:158)
==1408== by 0xA6FF714: alloc::slice::_$LT$impl$u20$$u5b$T$u5d$$GT$::to_vec::h4998449c8f1d41db (slice.rs:379)
==1408== by 0xA6D8684: alloc::slice::_$LT$impl$u20$alloc..borrow..ToOwned$u20$for$u20$$u5b$T$u5d$$GT$::to_owned::h46d730f63c69ab9c (slice.rs:716)
==1408== by 0xA519399: alloc::str::_$LT$impl$u20$alloc..borrow..ToOwned$u20$for$u20$str$GT$::to_owned::h6c513b92cb4e973a (str.rs:207)
==1408== by 0xA42AE95: terminus_store::storage::directory::get_label_from_file::hfe4de0f255ba6d3f (directory.rs:185)
==1408== by 0xA42C7B0: _$LT$terminus_store..storage..directory..DirectoryLabelStore$u20$as$u20$terminus_store..storage..label..LabelStore$GT$::get_label::h3bc90d719ba2e3c2 (directory.rs:257)
==1408==
==1408== 83,136 bytes in 866 blocks are still reachable in loss record 4,079 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB9186: lookupProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDB3F5: loadXRc (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDBE20: loadPredicate (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDD25B: loadWicFromStream (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 86,880 bytes in 905 blocks are still reachable in loss record 4,080 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB9186: lookupProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E8DCC5: compileSubClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9399F: compileBody (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E9396F: compileBody (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E94FFC: compileClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95BCE: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E96136: record_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E961C9: pl_record_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 89,536 bytes in 293 blocks are still reachable in loss record 4,081 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95587: compileClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95BCE: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E96136: record_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E961C9: pl_record_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EBB0F1: trapUndefined (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E72C10: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 98,304 bytes in 1 blocks are still reachable in loss record 4,082 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5C628: allocateAtomBlock.part.6 (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D474: lookupBlob (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D6F4: lookupAtom (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4ED8292: getAtom (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDB304: loadXRc (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDB370: loadXRc (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC786: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 98,304 bytes in 8 blocks are still reachable in loss record 4,083 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0xA6EE06B: alloc::alloc::alloc::ha26ad29b2718f601 (alloc.rs:84)
==1408== by 0xA6EDE51: _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Alloc$GT$::alloc::hd4fce9f3a1e51fd6 (alloc.rs:172)
==1408== by 0xA6E9FF1: alloc::raw_vec::RawVec$LT$T$C$A$GT$::allocate_in::h4992af088d19145b (raw_vec.rs:98)
==1408== by 0xA6E9E65: alloc::raw_vec::RawVec$LT$T$GT$::with_capacity::h40203dd55ac5499a (raw_vec.rs:142)
==1408== by 0xA6F5033: alloc::vec::Vec$LT$T$GT$::with_capacity::ha16120202ccaaf0f (vec.rs:356)
==1408== by 0xA6F0728: mio::sys::unix::epoll::Events::with_capacity::h7ee83912fc62963e (epoll.rs:184)
==1408== by 0xA6E4C37: mio::poll::Events::with_capacity::h76433514da4913ed (poll.rs:1362)
==1408== by 0xA63B1CD: tokio_reactor::Reactor::new::hded064c06aa038fb (lib.rs:256)
==1408== by 0xA61AF56: tokio::runtime::threadpool::builder::Builder::build::h5c3ebe8c09353878 (builder.rs:356)
==1408== by 0xA61A374: tokio::runtime::threadpool::Runtime::new::h1069aba4c726ff08 (mod.rs:145)
==1408== by 0xA4BC54D: __static_ref_initialize (sync.rs:18)
==1408== by 0xA4BC54D: core::ops::function::FnOnce::call_once::h343c611514ba4125 (function.rs:235)
==1408==
==1408== 99,968 bytes in 1,562 blocks are possibly lost in loss record 4,084 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0xA25005B: alloc::alloc::alloc::he71f6672ff69332a (alloc.rs:84)
==1408== by 0xA24FFCB: alloc::alloc::exchange_malloc::h46527e14373cbbb6 (alloc.rs:206)
==1408== by 0xA281811: new<terminus_store::store::sync::SyncNamedGraph> (boxed.rs:121)
==1408== by 0xA281811: open_named_graph (lib.rs:70)
==1408== by 0x9EB18A6: pl_open_named_graph (terminus_store.c:56)
==1408== by 0x4E79FA5: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6C2B: callProlog (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EE5A3B: start_thread (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x60384A3: start_thread (pthread_create.c:456)
==1408==
==1408== 115,536 bytes in 574 blocks are still reachable in loss record 4,085 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95587: compileClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95BCE: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95FE5: pl_assertz11_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 118,848 bytes in 7,428 blocks are still reachable in loss record 4,086 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EA8621: import (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EA8B70: pl_import2_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 121,344 bytes in 1,264 blocks are still reachable in loss record 4,087 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB9186: lookupProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EA9293: export_pi (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EA92F0: pl_export1_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 131,072 bytes in 1 blocks are still reachable in loss record 4,088 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D154: lookupBlob (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D6F4: lookupAtom (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC448C: get_token__LD.part.37 (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC4EBB: simple_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC6FFB: complex_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC7A2A: read_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC90E0: read_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC9374: pl_read_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 135,264 bytes in 1,409 blocks are still reachable in loss record 4,089 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB9186: lookupProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EBB445: pl_get_predicate_attribute (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79FA5: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 151,216 bytes in 610 blocks are still reachable in loss record 4,090 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDBC36: loadPredicate (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDD25B: loadWicFromStream (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4983: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 162,352 bytes in 1,274 blocks are still reachable in loss record 4,091 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95587: compileClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95BCE: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95FE5: pl_assertz11_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6C2B: callProlog (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F08067: pl_with_mutex (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79F63: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6C2B: callProlog (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6E3C: pl_notrace1_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 163,840 bytes in 3 blocks are still reachable in loss record 4,092 of 4,104
==1408== at 0x4C2DDCF: realloc (vg_replace_malloc.c:785)
==1408== by 0xA66B2FC: alloc::alloc::realloc::h8a506f3cbb6b31d2 (alloc.rs:128)
==1408== by 0xA66B085: _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Alloc$GT$::realloc::hb3182a071ab63438 (alloc.rs:187)
==1408== by 0xA68B4FC: alloc::raw_vec::RawVec$LT$T$C$A$GT$::reserve_internal::h831f47b119d22fb7 (raw_vec.rs:670)
==1408== by 0xA68C321: alloc::raw_vec::RawVec$LT$T$C$A$GT$::reserve::h0ab4df7f50cf5bac (raw_vec.rs:495)
==1408== by 0xA67AB59: alloc::vec::Vec$LT$T$GT$::reserve::h52b1de304f27808a (vec.rs:458)
==1408== by 0xA67A9D8: alloc::vec::Vec$LT$T$GT$::push::ha3ca665daa1a1f25 (vec.rs:1103)
==1408== by 0xA6A52CA: slab::Slab$LT$T$GT$::insert_at::h368e1806d6c9a02c (lib.rs:632)
==1408== by 0xA6A4F8D: slab::Slab$LT$T$GT$::insert::h00760eb0289b4efd (lib.rs:593)
==1408== by 0xA68D0FD: tokio_threadpool::worker::entry::WorkerEntry::register_task::h2dc22e18db88036e (entry.rs:246)
==1408== by 0xA69B3C2: tokio_threadpool::worker::Worker::run_task::h1ecf2a8dd4e7574e (mod.rs:456)
==1408== by 0xA69AEDF: tokio_threadpool::worker::Worker::try_steal_task::hbf0e24cb88f05cbd (mod.rs:416)
==1408==
==1408== 199,848 bytes in 711 blocks are still reachable in loss record 4,093 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95587: compileClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95BCE: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E96136: record_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E961C9: pl_record_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E6D8AC: PL_toplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108724: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 320,912 bytes in 160 blocks are still reachable in loss record 4,094 of 4,104
==1408== at 0x4C2DDCF: realloc (vg_replace_malloc.c:785)
==1408== by 0xA6D97FC: alloc::alloc::realloc::h44faf8366b2dd8f5 (alloc.rs:128)
==1408== by 0xA6D95C5: _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Alloc$GT$::realloc::h1401f2a0cb8d81be (alloc.rs:187)
==1408== by 0xA6E2A2C: alloc::raw_vec::RawVec$LT$T$C$A$GT$::reserve_internal::h4c6160995cb76387 (raw_vec.rs:670)
==1408== by 0xA6E2DF1: alloc::raw_vec::RawVec$LT$T$C$A$GT$::reserve::h02e7114964f068bf (raw_vec.rs:495)
==1408== by 0xA6DAD09: alloc::vec::Vec$LT$T$GT$::reserve::h3e715be6561b28cf (vec.rs:458)
==1408== by 0xA439AD7: std::io::read_to_end_with_reservation::ha4f7121a3e92b640 (mod.rs:369)
==1408== by 0xA4399D9: std::io::read_to_end::h26ee9a584052e32d (mod.rs:356)
==1408== by 0xA439F54: std::io::Read::read_to_end::h2b0c8315939ac5b6 (mod.rs:648)
==1408== by 0xA5248F2: _$LT$tokio_io..io..read_to_end..ReadToEnd$LT$A$GT$$u20$as$u20$futures..future..Future$GT$::poll::hb08d089e542610dd (read_to_end.rs:56)
==1408== by 0xA364B9E: _$LT$futures..future..map..Map$LT$A$C$F$GT$$u20$as$u20$futures..future..Future$GT$::poll::h6f8cdb8e2e4ee012 (map.rs:30)
==1408== by 0xA394429: _$LT$futures..future..either..Either$LT$A$C$B$GT$$u20$as$u20$futures..future..Future$GT$::poll::h5e4dca6ff650928d (either.rs:36)
==1408==
==1408== 330,120 bytes in 655 blocks are still reachable in loss record 4,095 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0xA66B22B: alloc::alloc::alloc::h5720529faf6a4289 (alloc.rs:84)
==1408== by 0xA66B19B: alloc::alloc::exchange_malloc::h96e4bb19607190fc (alloc.rs:206)
==1408== by 0xA677F65: new<crossbeam_queue::seg_queue::Block<alloc::sync::Arc<tokio_threadpool::task::Task>>> (boxed.rs:121)
==1408== by 0xA677F65: crossbeam_queue::seg_queue::SegQueue$LT$T$GT$::push::h60912bed1aa34d4c (seg_queue.rs:201)
==1408== by 0xA68D264: tokio_threadpool::worker::entry::WorkerEntry::remotely_complete_task::hb324e0f074062ccf (entry.rs:266)
==1408== by 0xA69BA66: tokio_threadpool::worker::Worker::run_task::h1ecf2a8dd4e7574e (mod.rs:515)
==1408== by 0xA69AA56: tokio_threadpool::worker::Worker::try_run_owned_task::hd80973516daca83e (mod.rs:390)
==1408== by 0xA69A49C: tokio_threadpool::worker::Worker::try_run_task::h54601ba776355230 (mod.rs:297)
==1408== by 0xA69A2F5: tokio_threadpool::worker::Worker::run::ha620171d3f5df792 (mod.rs:241)
==1408== by 0xA61BA9B: tokio::runtime::threadpool::builder::Builder::build::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hf1a0f86368d24d90 (builder.rs:390)
==1408== by 0xA629E3B: tokio_timer::timer::handle::with_default::_$u7b$$u7b$closure$u7d$$u7d$::h7f92321d998b87fc (handle.rs:101)
==1408== by 0xA627C63: std::thread::local::LocalKey$LT$T$GT$::try_with::h0591efca88fdf8c2 (local.rs:262)
==1408==
==1408== 330,752 bytes in 125 blocks are still reachable in loss record 4,096 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F10A: htable_alloc_kvs (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F47F: htable_put (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F1F891: addHTable (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EA867E: import (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EA8B70: pl_import2_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 360,448 bytes in 5 blocks are still reachable in loss record 4,097 of 4,104
==1408== at 0x4C2DDCF: realloc (vg_replace_malloc.c:785)
==1408== by 0xA66B2FC: alloc::alloc::realloc::h8a506f3cbb6b31d2 (alloc.rs:128)
==1408== by 0xA66B085: _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Alloc$GT$::realloc::hb3182a071ab63438 (alloc.rs:187)
==1408== by 0xA68B4FC: alloc::raw_vec::RawVec$LT$T$C$A$GT$::reserve_internal::h831f47b119d22fb7 (raw_vec.rs:670)
==1408== by 0xA68C321: alloc::raw_vec::RawVec$LT$T$C$A$GT$::reserve::h0ab4df7f50cf5bac (raw_vec.rs:495)
==1408== by 0xA67AB59: alloc::vec::Vec$LT$T$GT$::reserve::h52b1de304f27808a (vec.rs:458)
==1408== by 0xA67A9D8: alloc::vec::Vec$LT$T$GT$::push::ha3ca665daa1a1f25 (vec.rs:1103)
==1408== by 0xA6A52CA: slab::Slab$LT$T$GT$::insert_at::h368e1806d6c9a02c (lib.rs:632)
==1408== by 0xA6A4F8D: slab::Slab$LT$T$GT$::insert::h00760eb0289b4efd (lib.rs:593)
==1408== by 0xA68D0FD: tokio_threadpool::worker::entry::WorkerEntry::register_task::h2dc22e18db88036e (entry.rs:246)
==1408== by 0xA69B3C2: tokio_threadpool::worker::Worker::run_task::h1ecf2a8dd4e7574e (mod.rs:456)
==1408== by 0xA69AA56: tokio_threadpool::worker::Worker::try_run_owned_task::hd80973516daca83e (mod.rs:390)
==1408==
==1408== 441,456 bytes in 18,394 blocks are still reachable in loss record 4,098 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E60CCD: allocHeapOrHalt (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB8B75: newClauseRef (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB8C11: assertProcedure (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95CC7: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E96136: record_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E961C9: pl_record_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 460,440 bytes in 1,740 blocks are still reachable in loss record 4,099 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDBC36: loadPredicate (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDC5CC: loadPart (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDCA4D: loadStatement (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EDD25B: loadWicFromStream (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4983: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 589,824 bytes in 2 blocks are possibly lost in loss record 4,100 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5C628: allocateAtomBlock.part.6 (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D474: lookupBlob (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D6F4: lookupAtom (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4F2191C: PL_unify_text (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB4603: atomic_list_concat (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== 786,432 bytes in 1 blocks are still reachable in loss record 4,101 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5C628: allocateAtomBlock.part.6 (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D474: lookupBlob (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E5D6F4: lookupAtom (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC448C: get_token__LD.part.37 (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC4EBB: simple_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC6FFB: complex_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC7A2A: read_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC90E0: read_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EC9374: pl_read_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408==
==1408== 1,532,416 bytes in 11,972 blocks are still reachable in loss record 4,102 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0xA66B22B: alloc::alloc::alloc::h5720529faf6a4289 (alloc.rs:84)
==1408== by 0xA66B19B: alloc::alloc::exchange_malloc::h96e4bb19607190fc (alloc.rs:206)
==1408== by 0xA6A6DBD: alloc::sync::Arc$LT$T$GT$::new::h39278ecbb3715592 (sync.rs:306)
==1408== by 0xA6992FF: _$LT$$RF$tokio_threadpool..sender..Sender$u20$as$u20$tokio_executor..executor..Executor$GT$::spawn::he41a8e947bc04f02 (sender.rs:168)
==1408== by 0xA4B9EE5: tokio_threadpool::sender::Sender::spawn::hff27a00b7db63eee (sender.rs:84)
==1408== by 0xA4E555D: _$LT$tokio_threadpool..sender..Sender$u20$as$u20$futures..future..Executor$LT$T$GT$$GT$::execute::heb0eb5a86d418f85 (sender.rs:207)
==1408== by 0xA4B84B1: _$LT$tokio..runtime..threadpool..task_executor..TaskExecutor$u20$as$u20$futures..future..Executor$LT$T$GT$$GT$::execute::hba082e0ddfdb4670 (task_executor.rs:65)
==1408== by 0xA38E4BB: futures::sync::oneshot::spawn::h1836a491ca64c44b (oneshot.rs:517)
==1408== by 0xA5BF4BB: terminus_store::store::sync::SyncStore::open::hdc8943dc25014f5b (sync.rs:282)
==1408== by 0xA28170E: open_named_graph (lib.rs:67)
==1408== by 0x9EB18A6: pl_open_named_graph (terminus_store.c:56)
==1408==
==1408== 1,532,416 bytes in 11,972 blocks are still reachable in loss record 4,103 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0xA66B22B: alloc::alloc::alloc::h5720529faf6a4289 (alloc.rs:84)
==1408== by 0xA66B19B: alloc::alloc::exchange_malloc::h96e4bb19607190fc (alloc.rs:206)
==1408== by 0xA6A6DBD: alloc::sync::Arc$LT$T$GT$::new::h39278ecbb3715592 (sync.rs:306)
==1408== by 0xA6992FF: _$LT$$RF$tokio_threadpool..sender..Sender$u20$as$u20$tokio_executor..executor..Executor$GT$::spawn::he41a8e947bc04f02 (sender.rs:168)
==1408== by 0xA4B9DC5: tokio_threadpool::sender::Sender::spawn::hedd6cb8ecb813ff8 (sender.rs:84)
==1408== by 0xA4E538D: _$LT$tokio_threadpool..sender..Sender$u20$as$u20$futures..future..Executor$LT$T$GT$$GT$::execute::hc30fa031c999c532 (sender.rs:207)
==1408== by 0xA4B838F: _$LT$tokio..runtime..threadpool..task_executor..TaskExecutor$u20$as$u20$futures..future..Executor$LT$T$GT$$GT$::execute::h78ab25535157aa3b (task_executor.rs:65)
==1408== by 0xA38F6A5: futures::sync::oneshot::spawn::hbf18f4b4bf54e1ba (oneshot.rs:517)
==1408== by 0xA5BEFF7: terminus_store::store::sync::SyncNamedGraph::head::ha3dbb3d9050b7690 (sync.rs:236)
==1408== by 0xA281B08: named_graph_get_head (lib.rs:85)
==1408== by 0x9EB194C: pl_head (terminus_store.c:76)
==1408==
==1408== 4,341,320 bytes in 18,394 blocks are still reachable in loss record 4,104 of 4,104
==1408== at 0x4C2BBAF: malloc (vg_replace_malloc.c:299)
==1408== by 0x4E63358: PL_malloc_atomic_unmanaged (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95587: compileClause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E95BCE: assert_term (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E96136: record_clause (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E961C9: pl_record_clause3_va (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4E79C62: PL_next_solution (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB675A: query_loop (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EB6F8A: prologToplevel (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x4EF4ACF: PL_initialise (in /usr/lib/swipl/lib/x86_64-linux/libswipl.so.8.0.3)
==1408== by 0x108718: main (in /usr/lib/swipl/bin/x86_64-linux/swipl)
==1408==
==1408== LEAK SUMMARY:
==1408== definitely lost: 160,800 bytes in 205 blocks
==1408== indirectly lost: 8,192 bytes in 1 blocks
==1408== possibly lost: 1,221,173 bytes in 14,903 blocks
==1408== still reachable: 15,880,378 bytes in 149,101 blocks
==1408== of which reachable via heuristic:
==1408== length64 : 106,520 bytes in 3 blocks
==1408== newarray : 55,160 bytes in 1,594 blocks
==1408== suppressed: 0 bytes in 0 blocks
==1408==
==1408== For counts of detected and suppressed errors, rerun with: -v
==1408== Use --track-origins=yes to see where uninitialised values come from
==1408== ERROR SUMMARY: 69934 errors from 461 contexts (suppressed: 0 from 0)