using memory units for the S3 api