presto-ml/src/main/java/io/prestosql/plugin/ml/LearnStateFactory.java/SingleLearnState/addMemoryUsage
class SingleLearnState:        @Override
        public void addMemoryUsage(long value)
        {
            size += value;
        }