Add third dbhighmem option "max": use up to 500MB of memory for the
SQLite cache. In most cases only a fraction of this will be used, but
should cover most large collections, too.