Github user zzcclp commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1982#discussion_r169532810
--- Diff:
core/src/main/java/org/apache/carbondata/core/memory/HeapMemoryAllocator.java
---
@@ -44,38 +44,49 @@ private boolean shouldPool(long size) {
}
@Override public MemoryBlock allocate(long size) throws OutOfMemoryError
{
- if (shouldPool(size)) {
+ int numWords = (int) ((size + 7) / 8);
--- End diff --
do you mean the reuse feature or adjust the memory size?
---