more log and release memory