{"id":38291,"date":"2023-01-26T15:44:56","date_gmt":"2023-01-26T20:44:56","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=38291"},"modified":"2025-03-17T11:30:54","modified_gmt":"2025-03-17T15:30:54","slug":"what-happened-to-virtual-memory","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/01\/26\/what-happened-to-virtual-memory\/","title":{"rendered":"What Happened to Virtual Memory?"},"content":{"rendered":"<p><a href=\"https:\/\/apple.stackexchange.com\/questions\/158639\/your-system-has-run-out-of-application-memory-how-is-that-possible\">alessandro308<\/a>:<\/p>\n<blockquote cite=\"https:\/\/apple.stackexchange.com\/questions\/158639\/your-system-has-run-out-of-application-memory-how-is-that-possible\"><p>Your system has run out of application memory.<\/p>\n<p>To avoid problems with your computer, quit any applications you are not using.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/jason_koebler\/status\/1618034357364740096\">Jason Koebler<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/jason_koebler\/status\/1618034357364740096\"><p>why do people pretend like RAM is somehow not important on Apple Silicon? I have a $2,000 14\" 2021 MBP with 16 gb RAM and I&rsquo;m regularly getting notices my computer can&rsquo;t run bc not enough system memory with not that much stuff open[&#8230;]<\/p><p>meanwhile I have a 2017 iMac that I installed 32 gb of RAM on myself with a garbage processor but that generally runs large numbers of programs\/tabs better than this MBP.<\/p><\/blockquote>\n\n<p>I&rsquo;ve never quite known what this error means. I&rsquo;ve been using macOS since the beginning and don&rsquo;t recall ever seeing it until the later years of using my 2017 iMac. It had 40 GB of RAM, and when I would get this error it never seemed like applications were using a huge amount of memory. Sometimes it looked like the kernel was using 10 GB or so. Even so, how can the system be out of memory when it supports virtual memory and the boot drive has 100 GB of free space?<\/p>\n\n<p>Meanwhile, my 2022 MacBook Pro has only 32 GB of RAM, and I don&rsquo;t think it has ever shown this error message. My guess is that this is because the MacBook Pro has a larger SSD and the iMac was in fact running out of space. Perhaps it&rsquo;s just more confusion caused by displaying purgeable space&mdash;that will not actually be automatically purged&mdash;as though it&rsquo;s free.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2022\/10\/07\/showing-the-amount-of-free-space-on-ios\/\">Showing the Amount of Free Space on iOS<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2021\/05\/16\/big-sur-really-needs-real-free-space\/\">Big Sur Really Needs Real Free Space<\/a><\/li>\n<\/ul>\n\n<p id=\"what-happened-to-virtual-memory-update-2023-02-14\">Update (2023-02-14): <a href=\"https:\/\/mastodon.social\/@timac\/109859306556197729\">Alexandre Colucci<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@timac\/109859306556197729\">\n<p>Achievement unlocked: memory swapping on Apple Silicon &#x1F918;<\/p>\n<\/blockquote>\n\n<p id=\"what-happened-to-virtual-memory-update-2023-04-24\">Update (2023-04-24): See also: <a href=\"https:\/\/stevejobsdied.com\/post\/715100724322795520\/the-first-hint-was-the-fact-that-the-laptop-was\">Mike Richardson<\/a>.<\/p>\n\n<p id=\"what-happened-to-virtual-memory-update-2024-03-01\">Update (2024-03-01): <a href=\"https:\/\/mastodon.social\/@christianselig\/112016294861025142\">Christian Selig<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@christianselig\/112016294861025142\"><p>Anyone else getting a bunch of &ldquo;your system ran out of memory&rdquo; alerts on Sonoma, but then you add them up and they&rsquo;re nowhere near your total RAM?<\/p><\/blockquote>\n\n<p id=\"what-happened-to-virtual-memory-update-2024-03-05\">Update (2024-03-05): <a href=\"https:\/\/twitter.com\/_saagarjha\/status\/1763890712238780551\">Saagar Jha<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/_saagarjha\/status\/1763890712238780551\"><p>I believe you see that alert when your system cannot swap anymore because there isn&rsquo;t any disk space left. I don&rsquo;t believe swapping will ask the system to purge anything btw[&#8230;]<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/Gok\/status\/1763973274273292435\">Gok<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/Gok\/status\/1763973274273292435\"><p>There is also a lot of memory that can&rsquo;t be swapped.  e.g. Chrome and therefore Electron are putting more and more things in IOSurface allocations that can&rsquo;t be paged out.<\/p><\/blockquote>\n\n<p id=\"what-happened-to-virtual-memory-update-2025-03-17\">Update (2025-03-17): <a href=\"https:\/\/x.com\/rosyna\/status\/1900625458510917706\">Rosyna Keller<\/a>:<\/p>\n<blockquote cite=\"https:\/\/x.com\/rosyna\/status\/1900625458510917706\">\n<p>When you see this dialog forced on you, it means you ran out of space on your boot volume and are currently, <em>actively<\/em> experiencing data loss.<\/p>\n<p>The dialog appears because quitting apps that use a large amount of swap can free up disk space.<\/p>\n<\/blockquote>\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2025\/03\/10\/purgeable-disk-space\/\">Purgeable Disk Space<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>alessandro308: Your system has run out of application memory. To avoid problems with your computer, quit any applications you are not using. Jason Koebler: why do people pretend like RAM is somehow not important on Apple Silicon? I have a $2,000 14\" 2021 MBP with 16 gb RAM and I&rsquo;m regularly getting notices my computer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-01-26T20:45:04Z","apple_news_api_id":"cdb0fcc9-54ee-4a14-984d-d6d0ac32b1f1","apple_news_api_modified_at":"2025-03-17T15:30:57Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAABw==","apple_news_api_share_url":"https:\/\/apple.news\/AzbD8yVTuShSYTdbQrDKx8Q","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[30,1891,2077,2223,571,1056,174],"class_list":["post-38291","post","type-post","status-publish","format-standard","hentry","category-technology","tag-mac","tag-macos-11-0","tag-macos-12","tag-macos-13-ventura","tag-memory-management","tag-ram","tag-storage"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/38291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=38291"}],"version-history":[{"count":8,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/38291\/revisions"}],"predecessor-version":[{"id":47098,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/38291\/revisions\/47098"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=38291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=38291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=38291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}