I run several virtual machines on my 8 GB MBP and I have never seen swap issues. Are you sure your problems are actually caused by swap?
"purge" doesn't touch swap, it discards disk cache. Its use (according to the man page) is to simulate cold boot disk performance. The command has no use for memory management, because disk cache is automatically discarded when free memory runs out.