expanding ram using virtual memory ?

There's pros and cons of doing that.
​I'd be looking at what's eating memory before relying on (slower) virtual memory.
​Or a machine upgrade.