title: Avoiding Memcache "1000000 bytes in length" limit on values
body: <p>My model has different entities that I'd like to calculate once like the employees of a company. To avoid making the same query again and again, the calculated list is saved in Memcache (duration=1day).. The problem is that the app is sometimes giving me an error that there are more bytes being stored in Memcache than is permissible:</p>
  
  <pre><code>Values may not be more than 1000000 bytes in length; received 1071339 bytes
  </code></pre>
  
  <p>Is storing a list of objects something that you should be doing with Memcache? If so, what are best practices in avoiding the error above? I'm currently pulling 1000 objects. Do you limit values to &lt; 200? Checking for an object's size in memory doesn't seem like too good an idea because they're probably being processed (serialized or something like that) before going into Memcache.</p>