Add debug messages for RDF memory consumption.