{"id":79,"date":"2012-12-09T23:15:58","date_gmt":"2012-12-09T21:15:58","guid":{"rendered":"http:\/\/catyellow.net\/blog\/?p=79"},"modified":"2012-12-09T23:17:28","modified_gmt":"2012-12-09T21:17:28","slug":"how-to-clear-memory-cache-on-linux-mint","status":"publish","type":"post","link":"https:\/\/catyellow.net\/blog\/?p=79","title":{"rendered":"How to clear memory cache on Linux Mint"},"content":{"rendered":"<p>I have system cache used a lot of memory after a long time of work with system so I looked for something what might clear the cache.<\/p>\n<p>So these are scripts (available in 2.6.16 Linux core or newer):<\/p>\n<ul>\n<li>Clears pagecache<\/li>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsync\r\necho 1 &gt; \/proc\/sys\/vm\/drop_caches\r\n<\/pre>\n<li>Clears dentrie and inode \u043a\u044d\u0448\u0438:<\/li>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsync\r\necho 2 &gt; \/proc\/sys\/vm\/drop_caches\r\n<\/pre>\n<li>Clears pagecache, dentrie and inode \u043a\u044d\u0448\u0438:<\/li>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsync\r\necho 3 &gt; \/proc\/sys\/vm\/drop_caches\r\n<\/pre>\n<\/ul>\n<p>I&#8217;m using the last one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have system cache used a lot of memory after a long time of work with system so I looked for something what might clear the cache. So these are scripts (available in 2.6.16 Linux core or newer): Clears pagecache Clears dentrie and inode \u043a\u044d\u0448\u0438: Clears pagecache, dentrie and inode \u043a\u044d\u0448\u0438: I&#8217;m using the last [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[23,22,6],"_links":{"self":[{"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/79"}],"collection":[{"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":4,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":83,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions\/83"}],"wp:attachment":[{"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/catyellow.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}