clearData

Clears all accumulated data in memory if needed.