Reduce the memory usage.