How to make it be a memory leak program(without lower function such as GC.xxx used)

I think I’v found the problem.
Version 1: create Task for each.
Version 2: not lock the ops on global var and io.