Speed up GC of FloatSelectiveReader by clearing member variables in close()
@@ -441,6 +441,15 @@ public class FloatSelectiveStreamReader
@Override
public void close()
{
+ values = null;
+ outputPositions = null;
+ nulls = null;
+
+ presentStream = null;
+ presentStreamSource = null;
+ dataStream = null;
+ dataStreamSource = null;
+
systemMemoryContext.close();
}
