I'm running the following command to clear the cache:
$ sync; sudo sh -c "echo 3 > /proc/sys/vm/drop_caches" sh: 1: cannot create /proc/sys/vm/drop_caches: Operation not permitted $ free total used free shared buff/cache available Mem: 7.9G 5.7G 2.0G 17M 230M 2.1G Swap: 13G 445M 13G
So it is clearly not working as there is 230M in the cache. When I go to /proc/sys/vm/ there is no file called "drop_caches".
What is going on?
I'm using Ubuntu 16.04 through Windows Linux Subsystem.