carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manishgupta88 <...@git.apache.org>
Subject [GitHub] carbondata pull request #1948: [CARBONDATA-2143] Fixed query memory leak iss...
Date Thu, 08 Feb 2018 06:30:07 GMT
Github user manishgupta88 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1948#discussion_r166842293
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/scan/executor/impl/AbstractQueryExecutor.java
---
    @@ -586,16 +586,27 @@ private int getKeySize(List<QueryDimension> queryDimension,
        */
       @Override public void finish() throws QueryExecutionException {
         CarbonUtil.clearBlockCache(queryProperties.dataBlocks);
    +    UnsafeMemoryManager.INSTANCE.freeMemoryAll(ThreadLocalTaskInfo.getCarbonTaskInfo().getTaskId());
    --- End diff --
    
    ok


---

Mime
View raw message