In #10126 we changed the calculation of when to flush so that the requested dbcache memory limit would be respected even by the peak usage occurring at flush.
Without doubling the default dbcache limit, this would lead to an effective default of half the previous which I believe is too low.
First commit doubles the default and applies the DB_PEAK_USAGE_FACTOR in 2 other places. The debug logging of the usage still reports the current usage.
The second commit lowers the defaults slightly to ensure 0.14.1 has a lower memory footprint than 0.13.2.
The third commit makes the delayed flushing on large dbcaches a bit less aggressive, so the limit is less likely to be violated in practice.