test parallel memory usage