3.3.12 Memory management considerations
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog Semantic Web Library 3.0
        • Two RDF APIs
          • library(semweb/rdf_db): The RDF database
            • Memory management considerations
              • rdf_set/1
              • rdf_gc/0
              • rdf_update_duplicates/0
Availability::- use_module(library(semweb/rdf_db)).
Source[det]rdf_gc
Run the RDF-DB garbage collector until no garbage is left and all tables are fully optimized. Under normal operation a separate thread with identifier __rdf_GC performs garbage collection as long as it is consideredā€˜useful'.

Using rdf_gc/0 should only be needed to ensure a fully clean database for analysis purposes such as leak detection.