> I never want to throw an OOM and then have to argue about whether > the OOM was thrown prematurely. That would be a bug. As a consequence I agree the tradeoff here is very subtle and there is probably no optimal setting. I'll dig deeper in a spare minute and see if I can repreduce this on a simpler example. Dawid