presto-spi/src/main/java/io/prestosql/spi/block/LongArrayBlockBuilder.java/LongArrayBlockBuilder/getSizeInBytes
class LongArrayBlockBuilder:    @Override
    public long getSizeInBytes()
    {
        return (Long.BYTES + Byte.BYTES) * (long) positionCount;
    }