purge old history from memory