System running out of memory Mac M1

Hello friends,

Since I bought the Macbook Pro M1 mac, 16gb ram, I'ven been facing this issue of the system running out of memory. Before I had a 2013 intel mac and that alert never appeared. Sometimes the issue appears working with photoshop, sometimes with final cut pro, but the main memory usage is not always the software itself (sometimes it is)

In the activity monitor there are moments where final cut pro uses 20gb or more of RAM, but sometimes it's just 10gb and there are processes like

VTDecoderXPCService (22851)

or

kernel task

using 25gb of RAM


I've gone form Montery to Ventura and all the updates with this new machine. BUt I didn't make a clean install, I've been always moving my old system to the new machine since there are years of teaks I could miss.

I even installed Clean my mac two days ago, knowing that everybody hate it, but just in case it found some issue.


There are certain thing that i cannot do anymore with this machine. For example I stitch large gigapixel panoramas with PTGUI app, annd that was slow but always possible in my old machine. In this M1, the app gets to a point where it begans to use ridiculous amount of memory. 20, 30 gb an so on.


Here's a report from etrecheck in case it can help:



Any help appreciated


Best, Pablo

MacBook Pro (M1, 2020)

Posted on May 5, 2023 10:41 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 24, 2024 04:45 PM

As BOBHARRIS said you will need to clean up your SSD. That KernalTASK with high memory usauge typically means its having to use SSD to create SWAP files... Also if you notice KernalTask is increasing utilization with CPU then that likely means your overheating the system. Go to a cooler room so the system is not throttling.


Also, I recommend to only run FinalCut pro on any system with 16gb of memory. Even with unified systems like M series you should dedicate that machine to only editing video. Try to using your iPhone or another PC to multitask on.


Quit all processes like VTDecoderXPCService, Dropbox, Pages, CleanmyMAC, WhatsAPP, etc, while using FinalCut Pro. You should be okay text editing or opening one Safari Tab. But you really want that machine to dedicate it self to the video editing. (Hit: APPLE + SPacebar - Type: "Activity Monitor" and press enter)


Also, you should buy an external HD likely SSD to save your internal SSD performance and space. Just remember that the more connected hard drives the slower it will become.


Editing video can use quite a few resources on any computer. Its one of the main factors for many computer users to buy super expensive work stations like AMD's Threadrippers or Apple's Ultra series. 16 gb of main memory really is not enough these days for professional video editing.


Keep that main memory free and you should be good and your Macbook should last a life time.

Similar questions

3 replies
Question marked as Top-ranking reply

Apr 24, 2024 04:45 PM in response to Rick-Beacham

As BOBHARRIS said you will need to clean up your SSD. That KernalTASK with high memory usauge typically means its having to use SSD to create SWAP files... Also if you notice KernalTask is increasing utilization with CPU then that likely means your overheating the system. Go to a cooler room so the system is not throttling.


Also, I recommend to only run FinalCut pro on any system with 16gb of memory. Even with unified systems like M series you should dedicate that machine to only editing video. Try to using your iPhone or another PC to multitask on.


Quit all processes like VTDecoderXPCService, Dropbox, Pages, CleanmyMAC, WhatsAPP, etc, while using FinalCut Pro. You should be okay text editing or opening one Safari Tab. But you really want that machine to dedicate it self to the video editing. (Hit: APPLE + SPacebar - Type: "Activity Monitor" and press enter)


Also, you should buy an external HD likely SSD to save your internal SSD performance and space. Just remember that the more connected hard drives the slower it will become.


Editing video can use quite a few resources on any computer. Its one of the main factors for many computer users to buy super expensive work stations like AMD's Threadrippers or Apple's Ultra series. 16 gb of main memory really is not enough these days for professional video editing.


Keep that main memory free and you should be good and your Macbook should last a life time.

May 5, 2023 10:48 AM in response to Chantus

It is unusual for the kernel_task to consume that much memory, unless you have some 3rd party kernel extension installed.


There are 2 reasons for the "Your system has run out of application memory" dialog box.


NOTE: You have already done most of this, but review the following, as it may help.


A) Your boot disk has very low free storage, and macOS cannot create page/swap files to offload virtual memory contents to disk. 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) has 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 -> Utilities -> 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 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.

Apr 24, 2024 04:33 PM in response to Chantus

As BOBHARRIS said you will need to clean up your SSD. That KernalTASK with high memory usauge typically means its having to use SSD to create SWAP files... Also if you notice KernalTask is increasing utilization with CPU then that likely means your overheating the system. Go to a cooler room so the system is not throttling.


Also, it recommended to only run FinalCut pro on any system with 16gb of memory. Even with unified systems like M series you should dedicate that machine to only editing the video. Try to using your iPhone or another PC to multitask on.


Quit all processes like VTDecoderXPCService, Dropbox, Pages, CleanmyMAC, WhatsAPP, etc.. etc...


Also, you should buy an external HD likely SSD to save your internal SSD performance and space.


Editing video can use quite a few resources on any computer.

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.

System running out of memory Mac M1

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