Assert the sum of dirty+clean items in the cache is <= CACHE_MAX