Comfyui auto restarts itself

To give you information about my machine before I proceed, I’m using a GTX 1060 6 GB graphics card, my computer has 16 GB of ddr3 ram, and I am using endeavourOS instead of windows 11 because my motherboard is from 2012.

I am using gguf models and gguf vae and gguf clip loaders, after about an hour or 2, depending how much images or mm music generations I have qued up, it would automatically restart itself and erase my progress.

Do you suppose it’s an issue with my computers ram? Because I have issues to with playing steam games on my computer even when I use swap memory.