If you run into a situation where the memory cache needs to be flushed, as root, run the commands below to syncronize changes in memory to hard disk & then clear the memory cache.
sync;
echo 3 | sudo tee /proc/sys/vm/drop_caches > /dev/null;If you need to do this routinely for some reason, you may want to setup an alias for this.