MULE-7638 - fixing big memory usage during transaction recovery