void logMemory(Bench bench,String action){
  log(bench.getName() + ": " + action,"MB",TestBase.getMemoryUsed());
}

void logMemory ( Bench bench , String action ) { log ( bench . getName ( ) + ": " + action , "MB" , TestBase . getMemoryUsed ( ) ) ; }
if data collection is enabled , add the currently used memory size to the log .
