Memory leaks on Ventura?
Memory leaks on Ventura? Constantly telling me I'm out of memory
iMac (24-inch, M1, 2021, 2 ports)
Memory leaks on Ventura? Constantly telling me I'm out of memory
iMac (24-inch, M1, 2021, 2 ports)
There are many factors including Lack of Empty Space on the Drive.
It is generally a good computer practice to alway keep at least 15% to 20% of the Total Drive Capacity’s as Empty Space.
Allowing the computer to drop below these guidelines may eventually, cause unintended consequences.
It is suggested to start with steps 1 to 4 and then Test
Then, move onto steps 5 and 6 and Test again
Still having issue, move onto Step 7
1 - Restart in Safe Mode. This will perform a Disk Repair, clear cache files and only load Apple Software, extensions and fonts. The boot up will be slow and can take some time - Normal.
2 - Safe Mode will also eliminate Third Party Software, extensions and drivers from loading. It will only load the Minimum amount of Core Apple Processes to allow the the computer to function at a reduced Level of Performance
3 - Does the issue present in this mode ?
4 - Sometimes a Safe Boot followed by a Normal Boot will just put things right.
5 - If not - there could be something in the main User Account playing up. To further isolate this - Set up users, guests, and groups on Mac. Then log out of the Main User account and log into the dummy account and test again if the issue persists.
6 - If the issue is present in the dummy account - then, this appears to be a System Wide issue on the computer.
7 - Download the Application Etrecheck directly from the Developer.
This is a Diagnostic Tool that makes no changes to the computer.
It makes a coherent and readable inventory of both the Hardware and Software used on the computer
The application is free or paid from added features.
The Report will Not Reveal Any Personal Information.
Post back the Full Report - copy and paste - >>>> using the Additional Text Icon ( 3rd Icon to last ) <<<<
There are many factors including Lack of Empty Space on the Drive.
It is generally a good computer practice to alway keep at least 15% to 20% of the Total Drive Capacity’s as Empty Space.
Allowing the computer to drop below these guidelines may eventually, cause unintended consequences.
It is suggested to start with steps 1 to 4 and then Test
Then, move onto steps 5 and 6 and Test again
Still having issue, move onto Step 7
1 - Restart in Safe Mode. This will perform a Disk Repair, clear cache files and only load Apple Software, extensions and fonts. The boot up will be slow and can take some time - Normal.
2 - Safe Mode will also eliminate Third Party Software, extensions and drivers from loading. It will only load the Minimum amount of Core Apple Processes to allow the the computer to function at a reduced Level of Performance
3 - Does the issue present in this mode ?
4 - Sometimes a Safe Boot followed by a Normal Boot will just put things right.
5 - If not - there could be something in the main User Account playing up. To further isolate this - Set up users, guests, and groups on Mac. Then log out of the Main User account and log into the dummy account and test again if the issue persists.
6 - If the issue is present in the dummy account - then, this appears to be a System Wide issue on the computer.
7 - Download the Application Etrecheck directly from the Developer.
This is a Diagnostic Tool that makes no changes to the computer.
It makes a coherent and readable inventory of both the Hardware and Software used on the computer
The application is free or paid from added features.
The Report will Not Reveal Any Personal Information.
Post back the Full Report - copy and paste - >>>> using the Additional Text Icon ( 3rd Icon to last ) <<<<
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. Depending on how much virtual memory is being called for, anything under 50-100GB of free storage may trigger the message.
Apple menu (upper left corner) -> About This Mac -> Storage (tab)
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 non-pageable 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, forgets again, wash, rinse, repeat), eventually there are so many non-pageable 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. Many of these processes will NOT be applications. Just background agents and daemons used to provide many of the macOS services, as well as 3rd party background processes doing whatever that 3rd party app thinks it should be doing.
Also keep in mind that each web browser tab will be a separate process running its own Javascript. If you have lots of browser tabs open, or if one of the browser tabs running Javascript with a 3rd party bug in it, it is possible these browser tabs will add up to a lot of virtual memory demands, but no individual tab will look all that big.
Hey BrooksbankPhoto,
Have you had a chance to check the Activity Monitor to see what's using the memory?
If not, next time you see this message pop-up, open up Finder > Applications > Utilities > Activity Monitor. Using the steps found in View memory usage in Activity Monitor on Mac - Apple Support you can view what's using the memory.
• In the Activity Monitor appon your Mac, click Memory (or use the Touch Bar) to see the following in the bottom of the window:
• Memory Pressure: Graphically represents how efficiently your memory is serving your processing needs.
Memory pressure is determined by the amount of free memory, swap rate, wired memory, and file cached memory.
• Physical Memory: The amount of RAM installed.
• Memory Used: The amount of RAM being used. To the right, you can see where the memory is allocated.
• App Memory: The amount of memory being used by apps.
Reach back out if you still need help.
Take care!
I've just realized that after installing Ventura my Ram memory appeared as 8 GB. In fact, I bought my MacBook directly from Apple with 16 GB RAM... I wonder if this has something to do with the memory problem related.
Thanks so much for that. The culprit is those processes when I'm syncing LR. It only happens then. I would expect this to be an easy task, but it's impossible.
Memory leaks on Ventura?