implement cache memory usage diagnostics