Clear history from memory on purge