# Free up the memory. blockdev --flushbufs /dev/ram[n] # use tmpfs instead. mount tmpfs <dir> -t tmpfs