Truncating down memory usage