presto-orc/src/main/java/io/prestosql/orc/ChunkedSliceOutput.java/ChunkedSliceOutput/getRetainedSize
class ChunkedSliceOutput:    @Override
    public long getRetainedSize()
    {
        return slice.getRetainedSize() + closedSlicesRetainedSize + INSTANCE_SIZE;
    }