Manually free up the memory cache with the following simple command:
<code>
sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"
</code>

It can be put in a file and called from the Terminal

<code>
#!/bin/sh 
sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"
</code>