Benchmark on memory used