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*

6
  • 6
    What makes you think you need to? Linux has pretty good memory management, it should be able to do this on a need-to-do basis. Commented Jun 27, 2014 at 18:05
  • 16
    Note that freeing up memory like this is used to make the machine go slower, not faster. Its if you want to benchmark something on a cold cache. Commented Jun 27, 2014 at 18:14
  • I have a Java process eating all of my 24GB RAM. I can't terminate it. I don't know how to open a little space for other processes? Commented Jun 27, 2014 at 18:37
  • 1
    see linuxatemyram.com Commented Jun 27, 2014 at 21:52
  • 3
    @Mohsen, If the java process has already eaten up all of your ram, chances are that the kernel has already dropped all caches to give more memory to java. Purging, or dropping caches, won't give you any more free memory of a process has already demanded all of it. Commented Jun 27, 2014 at 23:00