code: public void setIndexCacheMaxSize(final int indexCacheMaxSize) {
          if((indexCacheMaxSize < 10240) || (indexCacheMaxSize > 2048000)) {
              throw new IllegalArgumentException("The specified indexCacheMaxSize is out of range. The allowed range is 10240 < indexCacheMaxSize < 2048000.");
          }
          
          put(PARAM_INDEX_CACHE_MAX_SIZE, String.valueOf(indexCacheMaxSize));
      }
docs: Specify the desired size (in Kb) for the cache index. If the full requested amount is not available, the system
  will attempt to allocate as much of it as possible.
  
  @param indexCacheMaxSize The new cache size.
  @throws java.lang.IllegalArgumentException If the specified value is out of range (10240 < <tt>indexCacheMaxSize
  </tt> < 2048000).