Packaging in windows doesn't work(unknown error)

Hi,
I have a game in ue5 and I want to package it for windows platform. I have encountered many problems with this before but I solved them. this problem is something I really don’t know what it is.
When I try to build my game It takes about 30 minutes packaging then it shows this image:


Sometimes before completing, the app crashes and It will drop me out.
I really don’t know what’s the problem. someone please help. Thanks

What version of UE5 are you using?
Are you installing using the Unreal Launcher, or building from source?
How much free space do you have on your disks?
How much free RAM do you have?
Which version of Windows are you using?

It’s UE5.1
It’s the unreal editor(ran from epic games launcher).
I have around 150GB of free space on my disk.
I have 8GB’s of RAM(7.8 useable).
My windows is windows 11.

This is too little RAM to effectively use the Unreal Editor.
It’s quite possible you’re running out of memory and crashing because of that.

Regarding the stack trace in the bottom, seeing the beginning of the crash dump, rather than the end, might give other clues, too.

But, chances are: You’ll need more RAM. 32 GB is a good minimum for UE development.