I found that this was actually not a very good idea nor did it make my system faster. This will disable your computer’s ability to use virtual memory.
To turn it back on
However, note the command-line tool “purge” (just one word) to free the inactive memory on your system.