free memory used by command logging