do GC_gcollect until collecting all the garbage
fix a build error