set default label for unlabeled tasks
compute average memory usage