returnn.util.watch_memory#