UE4 freezing computer when packaging game

Whenever I go to package my game after about half an hour it freezes periodically then after about an hour of that it just freezes my computer completely. I can package an empty project and I have already tried migrating everything to a new project my computer is powerful enough except for graphics where it struggles a bit. So does anyone know how to fix this or is it just a bug with the engine?
Thank you.

im geting the same problem