device.collectGarbage() instead of NATIVE.gc.runGC()