Following Faidon’s comment on an earlier post, I came across this informative site concerning Linux’s buffer cache state. In a nutshell, the following code will release all the cached data of a specified file.