clear local memory storage after each saving to local disk storage