hi all

In checkMemoryStatus function, i think maybe memory comparison is
meaningful after garbage collection.

If that, we have additional benefit: the task maybe go on running after gc,
rather than fail.

In addition, i think the memory checkpoint is not so good. Because we don't
know when gc happens. After gc, the check maybe pass, but maybe fail before
gc. The check point does not show how much we have real used memory , which
does not contain garbage.

Any suggestions ?

Reply via email to