title: What is the maximum properties size in Google Apps Script?
body: <p>I am trying to store large number of key/value pairs in Google Apps script and it fails after a while.  I am using this:</p>
  
  <pre><code>var properties = PropertiesService.getScriptProperties();
  properties.setProperties(newProperties, false);
  </code></pre>
  
  <p>It works fine until around 10,000 and then it gets this:</p>
  
  <p><strong>Exception: Too many arguments provided. Expected: properties. at getGroups (GroupCache:77) at warmCache (GroupCache:133)</strong></p>
  
  <p>Is this the maximum size?  If so, is there a way around this?  I cannot use CacheService because there is no way to get all the values out (only retrieval is by key).</p>
  
  <p>Thanks for any help.</p>