Why is my Linux system running out of memory despite having sufficient RAM and swap space?

Is any there to help me with this issue?

Can you provide more information? If this somehow related with the Linux NVIDIA drivers at all? Because you are asking about RAM and Swap but that is not related with the Graphic Card at all.