memory limit in attachments rewrite patch