- This article is very detailed, please see: Handle memory cache
-
Among other things, this blog post:
1 in the cache clearing/releasing command
in linux. The
section before clearing the cache may solve your problem, but you can read it carefully below or on the source blog:
-
Before releasing the cache, run the sync command to synchronize all unwritten system buffers to disk to ensure the integrity of the file system. Otherwise,
, unsaved files may be lost.
sync