presto-rcfile/src/main/java/io/prestosql/rcfile/RcFileCompressor.java/CompressedSliceOutput/getRetainedSize
class CompressedSliceOutput:        @Override
        public long getRetainedSize()
        {
            return super.getRetainedSize() + bufferedOutput.getRetainedSize();
        }