Best way to deal with Lighting Build running out of memory?

Same problem, ryzen 7950X 128 GB DDR5, RTX 4090 and strono file 256 GB.