title: What is the default Maximum Size for a Google Guava Cache?
body: <p>Given a Guava cache created with the code below is there a maximum cache size if one is not set?</p>
  
  <pre><code>LoadingCache&lt;String, String&gt; loadingCache = CacheBuilder.newBuilder().build(new CacheLoader&lt;String, String&gt;() {
      @Override
      public String load(String key) throws Exception
      {
          return key.toUpperCase();
      }
  });
  </code></pre>
  
  <p>In my case I really want a cache with no upper bound in size. I am using the cache to store permissions for logged in users and will evict items from the cache on user logout or session expiry. </p>