The dns forwarding cache-size configuration mode property currently only accepts a range of values 0-10000. The high end of this range is actually lower than what PowerDNS recommends as their default cache size (100k entries).
On my system, pdns uses about 2 MB of RAM per 10k entries, so on systems with plentiful RAM, we can handle much larger caches.