Github user sraghunandan commented on a diff in the pull request: https://github.com/apache/carbondata/pull/2313#discussion_r189246901 --- Diff: core/src/main/java/org/apache/carbondata/core/memory/UnsafeMemoryManager.java --- @@ -152,14 +152,15 @@ public synchronized boolean isMemoryAvailable() { return memoryUsed > totalMemory; } - public long getUsableMemory() { + public synchronized long getUsableMemory() { --- End diff -- fixed
---