Foliax is the only mod that causes this specific crash.
Prod cap is not the cause, as the entire mod is a single data-final-updates file changing max prod to 99999.99 on every item.
I've fixed it by adding the following to data-final-updates.lua in foliax
local barreling = data.raw["recipe"]["barrel-recycling"]
barreling.energy_required = 0.05
data:extend({barreling})