Github user cenyuhai commented on the issue:
https://github.com/apache/carbondata/pull/1291
I find the root cause, AbstractQueryExecutor will call
`freeMemoryAll(ThreadLocalTaskInfo.getCarbonTaskInfo().getTaskId())`. We should
use another taskId for UnsafeMemoryDMStore---
