Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 7
    My proc(5) manpage (from 2013-09-04) has this important information added: ... causing that memory to become free. This can be useful for memory management testing and performing reproducible filesystem benchmarks. Because writing to this file causes the benefits of caching to be lost, it can degrade overall system performance. Commented Jun 27, 2014 at 18:28
  • It didn't free up any memory for me. All my memory is being used by a Java process. Does it impact Java memory cache too? Commented Jun 27, 2014 at 18:39
  • @Mohsen: May be your Java process does not cache anything. What is output of free -m? Commented Jun 27, 2014 at 18:42
  • 3
    Totally relevant serverfault.com/q/597115/180142 Commented Jun 27, 2014 at 21:37
  • 1
    @Mohsen this is a kernel feature. how is the kernel supposed to know what is a legitimate Java object and what is cache? (hint: it can't, therefore it doesn't free Java caches). Commented Jun 27, 2014 at 21:46