title: What does "Out of memory error" refer to in Google Apps Script?
body: <p>When a Google Apps Script function fails and returns "Out of memory error", what does that refer to? </p>
  
  <p>Has the code reached a memory max for a particular variable? Does this have to do with the Cache Service? Does this have to do with the Script Database service? Does this have to do with the overall memory of script it self, combination of all the data processed and calculated? </p>
  
  <p>I have found no information on this error and what it refers to. </p>
  
  <p>Any help would be greatly appreciated. </p>
  
  <p>Regards, 
  James</p>