Fix percent memory usage