I see what you are getting at with dbcache…but I don’t think that limits size of utxo set in ram (or system cache thereof)…
Anyhow, constantly swapping from ram to disk in random fashion is really slow; as many entries in the utxo set will never be used again, these can be offloaded from ram and decrease swapping.
We know the order utxo will be used during IBD, so it is possible to store these sequentially on disk and convert random swaps in to sequential ones.
Try syncing a 1 or 2 GB rpi from Genesis. Or even just reverifying the chain with that little ram and the problem becomes evident…I’m not sure such little ram even works for ibd anymore.
