{"id":15346,"date":"2024-05-12T13:55:40","date_gmt":"2024-05-12T11:55:40","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=15346"},"modified":"2024-05-13T13:31:59","modified_gmt":"2024-05-13T11:31:59","slug":"nohang-arbeitsspeicher-unter-linux-automatisch-leeren","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2024\/05\/12\/nohang-arbeitsspeicher-unter-linux-automatisch-leeren\/","title":{"rendered":"Nohang &#8211; Arbeitsspeicher unter Linux automatisch leeren"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Sie kennen die Geschichte unter Windows: Wenn der Arbeitsspeicher voll ist, dauert alles erst einmal &#8211; die Swap-Datei wird vergr\u00f6\u00dfert und langsam bef\u00fcllt. Unter Linux geht dies um einiges schneller, wenn man nicht unbedingt eine Swap-Datei verwendet, sondern eine Swap-Partition. Aber auch Linux wird langsamer, ist der Hauptspeicher (<em>RAM<\/em>) einmal voll &#8211; das ist nat\u00fcrlich absolut klar. Dies wird vor allem problematisch, wenn der Rechner sowieso schon sehr wenig RAM hat. Mit Nohang wird unn\u00f6tig belegter Arbeitsspeicher automatisch geleert.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Nohang installieren und nutzen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Unter auf Debian basierenden Linux-Distributionen installieren Sie ganz einfach \u00fcber die Paket-Verwaltung das Paket &#8222;<strong>nohang<\/strong>&#8222;. Am einfachsten als root auf dem Terminal mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update\napt install nohang<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Das war es auch schon, den Rest erledigt die Software von selbst.<\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"15346\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">4    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"15346\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Sie kennen die Geschichte unter Windows: Wenn der Arbeitsspeicher voll ist, dauert alles erst einmal &#8211; die Swap-Datei wird vergr\u00f6\u00dfert und langsam bef\u00fcllt. Unter Linux geht dies um einiges schneller, wenn man nicht unbedingt eine Swap-Datei verwendet, sondern eine Swap-Partition. Aber auch Linux wird langsamer, ist der Hauptspeicher (RAM) einmal voll &#8211; das ist nat\u00fcrlich [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":763,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[15],"class_list":["post-15346","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system","tag-system"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/15346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=15346"}],"version-history":[{"count":4,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/15346\/revisions"}],"predecessor-version":[{"id":15356,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/15346\/revisions\/15356"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/763"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=15346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=15346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=15346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}