Package crashing with Compressed Cooked selected

I am having an issue packaging my project for windows. Everything cooks fine, but the package fails and gives me a critical error “Ran out of memory allocation…” If I uncheck “create compressed cooked packages” then it builds fine. It is just a huge package (12 gb). As soon as I check that box, it won’t package. Does anyone have any ideas what the cause, or solution, to this is?

]1

Same issue, no one seems to know