How to free kernel memory

From Wiki
Revision as of 16:10, 13 September 2012 by Scott (talk | contribs) (Created page with 'If memory seems to be consumed but you can't account for it all, check with <code>atop</code>. You may see that '''slab memory''' is very high. If so, use the <code>slabtop</co…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If memory seems to be consumed but you can't account for it all, check with atop. You may see that slab memory is very high. If so, use the slabtop tool to see what's being used. If you need to free this memory, try this:

sync ; echo 2 > /proc/sys/vm/drop_caches