title: Avoiding 'Exceeded soft private memory limit' while receiving email
body: <p><strong>What I have:</strong></p>
  
  <p>I have configured GAE so that it will receive email, delete attachments from it and store it in the blobstore, and then send the mail.</p>
  
  <p><strong>Problem statement:</strong></p>
  
  <p>When GAE is receiving any mail from gmail having attachment size greater than 5 MB , it is throwing 'Exceeded soft memory limit' error (I guess GAE can receive email with attachments upto 10 MB).</p>
  
  <p><strong>What I know</strong></p>
  
  <p>According to the link <a href="https://stackoverflow.com/questions/9331592/what-is-the-soft-private-memory-limit-in-gae">What is the &quot;soft private memory limit&quot; in GAE?</a> i need to increase my frontend and backend instance class so that memory quota can be increased.</p>
  
  <p><strong>What I need</strong></p>
  
  <p>I need to know if there is any thing that I may be missing or any idea to work with emails having attachments upto 10MB. All I need to do is detach attachments from email and store in blobstore and then send the email with blob keys generated with the same. Above workflow is working fine till 5MB attachment but is failing for large attachments with size upto 10MB.</p>
  
  <p>Any help will be appreciated. Do let me know if you need any additional information. Thanks!</p>