These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
The important measure is the available which in your case is 5772MB. So nearly 75% of your memory is available.
Only if your available memory is full, only then the system will start writing to the swap.
Also very important side note, I would really not advisable having such a huge swap file, as if the system starts storing so much information in swap it could really slow things down.
Regards,
Bobby
The developer cloud
Scale up as you grow — whether you're running one virtual machine or ten thousand.
From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.