Temporarily disabling RAM to mimic a lower spec machine?
There's no need to take out RAM, create a RAM disk or use a VM.  Simply boot the OS using the maxmem= boot flag value that's been created for this purpose and been around for decades.

Simply open Terminal as a sudoer and enter

sudo nano /Library/Preferences/SystemConfiguration/com.apple.Boot.plist


After entering your password change 

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs$
&lt;plist version="1.0"&gt;
&lt;dict&gt;
        &lt;key&gt;Kernel Flags&lt;/key&gt;
        &lt;string&gt;&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;


to

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs$
&lt;plist version="1.0"&gt;
&lt;dict&gt;
        &lt;key&gt;Kernel Flags&lt;/key&gt;
        &lt;string&gt;maxmem=2048&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;


and write the changes to disk with ctrlo and quit nano with ctrlx

Restart your Mac to apply the changes.

To revert the changes remove 'maxmem=2048' with nano again.