Skip to content

Commit

Permalink
Clean up arrays in ORC dictionary after close
Browse files Browse the repository at this point in the history
Like all other array deallocation in the same class. Set them to null to
enforce faster GC.
  • Loading branch information
highker committed Jan 2, 2020
1 parent b2a5e70 commit 0185288
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,9 @@ public void close()
stripeDictionaryLength = null;
stripeDictionaryData = null;
stripeDictionaryOffsetVector = null;
currentDictionaryData = null;
rowGroupDictionaryLength = null;
dictionaryBlock = null;
}

@Override
Expand Down

0 comments on commit 0185288

Please sign in to comment.