not enough memory error Mac OS Monterey

Trying to install and run the macOS Monterey update to my MacBook Air (13-inch, 2017) and I get an error when selecting Macintosh HD, showing "macOS Monterey cannot be installed on Macintosh HD.

Posted on Feb 26, 2023 10:13 AM

Reply
4 replies

Feb 27, 2023 7:55 AM in response to Gon_Rob

Gon_Rob wrote:

Trying to install and run the macOS Monterey update to my MacBook Air (13-inch, 2017) and I get an error when selecting Macintosh HD, showing "macOS Monterey cannot be installed on Macintosh HD.


This message does not say anything about "memory", and not using the proper terminology can lead to confusion.


There are two reasons that I can think that would cause the above message.


Please be as precise as possible, so we can give you adequate advice.



Is this really a 2017 model?


How much disk space is available on your drive? Select the drive, press Command-I to open the info window and tell us what you see.


Feb 26, 2023 7:41 PM in response to Gon_Rob

If you are getting "Your system has run out of application memory" dialog boxes, and a list of most likely innocent apps listed, then here is the explanation.


For the record, there are 2 reasons for the "Your system has run out of application memory" dialog box.


A) Your boot disk has very low free storage, and macOS cannot create page/swap files to offload virtual memory contents to disk. This is generally not the case, but I mention because if you do have very low free storage, it might apply.


B) A process (or set of processes) have asked macOS for excessive amounts of virtual memory address space. Virtual memory address space requires macOS to create Virtual Memory Page Tables in the kernel address space to keep track of the application virtual addresses given out. Generally, if there is a memory leak (process asks for a virtual address range, uses the addresses, forgets to give them back, asks for another virtual address range, uses the addresses, wash, rinse, repeat), eventually there are so many virtual memory page table entries trying to keep track of the virtual addresses, that macOS no longer has memory available for applications, and you get the "Your system has run out of application memory".


If you look at Applications -> Utilties -> Activity Monitor -> View (menu) -> All Processes -> Memory (tab), you can see what processes are using lots of memory.


NOTE: I have seen situations where no single process is using all the memory, but rather a host of smaller processes are using up all the virtual memory. That is to say, a 100 instances of the same program all running with a moderate amount of memory eventually adds up to a lot of page table entries being used.


I have also seen users with 100's of web browser tabs open, where each tab is being managed by its own separate process. And just because you are not looking at any give tab, does not mean the Javascript running on that web page, is not taking up memory and virtual addresses.

Feb 27, 2023 2:23 PM in response to Gon_Rob

Well if they are using gigabytes of memory, then you can just ask.


If they are using megabyes of memory, chances are they are not a problem, unless you have hundreds of the same item.


Generally speaking killing a process will result in several types of behavior

  • It will go away, never to be seen again, until you restart it (or maybe reboot). This generally something you started directly or indirectly, such as the process behind a web browser window, or some worker process for an app you are running, or a Startup Item, or a menu bar item you added, etc...
  • It will automatically start a new copy, and with an initial "sane" amount of memory.
  • It will crash your Mac. WindowServer for example. kernel_task should not be killable, but as that is the heart and soul of macOS, if you couild kill kernel_task, there is no macOS running any more 😁

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

not enough memory error Mac OS Monterey

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.