Ubuntu uses only 9.7% of the physical memory and 66% of the virtual memory (swap).
How can I tell the system to take advantage of the physical memory so it would run normally?
The simplest way to tell the system not to use
This way the OS will have to choice. But if you have 66% of swap in use and only 10% of physical memory there is something very wrong.