presto-spi/src/main/java/io/prestosql/spi/connector/RecordPageSource.java/RecordPageSource/getSystemMemoryUsage
class RecordPageSource:    @Override
    public long getSystemMemoryUsage()
    {
        return cursor.getSystemMemoryUsage() + pageBuilder.getSizeInBytes();
    }