Copy link to clipboard
Copied
Hi everytone. I JUST downloaded the latest versions of Photoshop and Lightroom Classic and having a problem. I imported one photo, started editing, and within minutes I got the "Your System Has Run Out Of Application Memory" error. I was suprised to see this since I have a new M1 Mac w/ 64GB of memory and use it for music production and run large sessions in Pro Tools & Ableton simutaniously w/ no problem. Also I really didn't do any real editing on the photo, just a couple of "healing" moves to remove some glare. Can someone tell me why this is happening and how I fix it? I will Google too, but just wanted to throw the post out too. (included photos are of the error message, the info on the file I was messing around with, and my "about this mac" mac info
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Why is your MACOS still at v12.0?
Copy link to clipboard
Copied
Hi, are you saying that is the issue? It's at 12 because of compatibility issues w/ various plugins i use in Ableton & Protools, and because the versions of those programs are more stable running on 12. I will see if others are able to update without issues.
Copy link to clipboard
Copied
The thing with M1/M2 is that the GPU uses system memory, not its own dedicated memory.
It would be interesting to see a breakdown on memory usage, both GPU and system. This is a Windows screenshot, but something like this:
Copy link to clipboard
Copied
Thanks. I will Google how to look this up and post a screen shot when I get home.
Copy link to clipboard
Copied
One more thing, what is GPU, what does it stand for?
Copy link to clipboard
Copied
Graphics Processing Unit, otherwise known as the video card. Integrated into the main processor in M1.
Copy link to clipboard
Copied
Ah ok. Even so, shouldn't I not run out of application memory after importing 1 photo and getting rid of some glare w/ the healing tool? I have a super cool Ls version from like 100 years running on a different laptop that's running at capacity w/ only 8GB of ram and a have never gotten this message.
Copy link to clipboard
Copied
Here is my screen shot w/ Lightroom open. Does not look like my computer is working w/ a large workload at all. GPU % is the far right coulm and I pasted below how to read the graph at the bottom.
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.
Wired Memory: Memory required by the system to operate. This memory can’t be cached and must stay in RAM, so it’s not available to other apps.
Compressed: The amount of memory that has been compressed to make more RAM available.
When your computer approaches its maximum memory capacity, inactive apps in memory are compressed, making more memory available to active apps. Select the Compressed Memory column, then look in the VM Compressed column for each app to see the amount of memory being compressed for that app.
Cached Files: The size of files cached by the system into unused memory to improve performance.
Until this memory is overwritten, it remains cached, so it can help improve performance when you reopen the app.
Swap Used: The amount of space being used on your startup disk to swap unused files to and from RAM.
Copy link to clipboard
Copied
I’ve seen that error on my Mac too, but not very often. Like I will run the same thing after restarting and not see the error again. And usually I can’t spot anything that should be causing it; for the things I do, memory is usually not a problem on my 32GB M1 Pro. So I believe the Out of Application Memory error is not a result of normal memory demands, but some kind of memory reporting bug in macOS. One reason I think that is that Apple Silicon Macs are generally supposed to manage memory better than Intel Macs. There have been so many demonstrations online of how an Apple Silicon Mac with 8GB unified memory is able to smoothly handle workloads that choke an Intel Mac with 8GB RAM.
Another reason is that the current memory management system is generally a lot better than it used to be. We used to only have live memory and virtual memory, but now macOS can manage more situations by also using compressed memory.
Although many people respond to this problem with the usual memory troubleshooting techniques, I don’t think they are going to help, because in so many cases, what is running is just not demanding enough to push this modern memory management over the cliff on a Mac with 64GB unified memory (which is way more than most people need). An error like “Your System Has Run Out Of Application Memory” suggests that macOS is not able to meet memory demands using live memory, compressed memory, or virtual memory, but that should only happen under exceedingly large workloads that almost no one does.
When I have encountered this problem, it was random and so not easy to reproduce and demonstrate. But if someone finds that the combination of things that causes the error on their Mac is repeatable, that should be sent to Apple as a bug report with the repeatable steps so they can figure out where to start to solve it.
Copy link to clipboard
Copied
Hey thanks so much for your insight. The workload on my computer when this kept happening was next to nothing. Are you suggesting I don't force quit when I get the "you're running out of app memory" . Also, do you know how I report this to Apple?
Copy link to clipboard
Copied
I'd still like to see a memory usage breakdown. I still suspect it's the GPU that uses most of this memory.
It's very easy to make Lightroom call large amounts of graphics memory (VRAM). Just browsing thorugh a folder in Develop results in this with my 12GB GPU:
The interesting thing is that I have another machine with a 5GB card. It produces the same curve, only capping at 5 GB instead of 12.
In other words - it seems to use whatever GPU memory (VRAM) is available.
It should be said here that if other applications need VRAM, it's released and redirected. Nothing ever stops cold. It seems to be a highly dynamic system. And this is how memory is supposed to work. Free memory is wasted memory.
But there may be a timing factor involved. Maybe the memory needed is already allocated elsewhere, but in a way that can't easily be re-allocated.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
The screen shot does show extremely light memory usage. Memory Pressure is not only green, it is very low. No memory contents are in Compressed, or in Swap Used (virtual memory). The memory system is not under any kind of stress. That supports my suspicion that this macOS error might be some kind of bug.
In your other reply you asked how to report a bug to Apple. I think this might be the right form:
https://www.apple.com/feedback/macos.html
Under Feedback Type, select Bug Report.
There is never any guarantee if or when a fix will appear. It depends on a lot of things
Copy link to clipboard
Copied
@D Fosse @Conrad_C @GoldingD I reached out to Adobe and they sent me a link to "enable full disk access and grant permissions to Lightroom Classic", as the fix for my application memory problem. From what I understand, granting these permissions has to do with access to the computer's storage, and nothing to do with memory. What do you think? Do you have this access granted?
Here is the link: https://community.adobe.com/t5/lightroom-classic-discussions/quick-tips-how-to-give-full-disk-access...
Copy link to clipboard
Copied
yes if you are using macOS operating systems you need to grant "full disk access" to LrC and all other Adobe applications that you are using.
Copy link to clipboard
Copied
Hi @DdeGannes Ok, done deal, will do! Even the Creative Cloud desktop app?
Copy link to clipboard
Copied
From what I understand, granting these permissions has to do with access to the computer's storage, and nothing to do with memory. What do you think? Do you have this access granted?
By @LosFelizGirl
I do grant that acess, because it allows the applications to work with both your files and its own files wherever they are located. (The reason Apple put that in is in case a malware application you didn’t know about is trying to alter your computer. But because we know about Adobe and that their software is not malicious, we grant it access.)
Granting access permissions avoids a lot of potential problems, but you are correct in your first sentence: The access permissions should not be directly related to the Out of Application Memory error. There might be some weird indirect effect we don’t know about, but on the surface, you are correct that storage permissions shouldn’t directly have anything to do with how working memory (RAM) works.
Copy link to clipboard
Copied
I have had the same problem with PP, but it looks like your solution to grant all-disk-access to PP is doing the trick. Keeping my fingers crossed... Thanks.
Copy link to clipboard
Copied
Do you leave your MAC running/on at all times?
If so, try shutting it down, then turning back on, might clear up app mem in use (not released)
And if that does not help, try a safe boot.
And yes that MACOS and M1/M2, but more so M1 has had a memory leak issue.
Copy link to clipboard
Copied
I shut my computer down regularly as in full shut downs. I ran disk utility yesterday and did a restart as well.
Copy link to clipboard
Copied
Adding to the theory that this is a MACOS issue, apparently Monterey is not well thought of in terms of bugs. Some things to look at:
https://osxdaily.com/2021/12/03/your-system-has-run-out-of-application-memory-mac-error/
(note the mention in that one about the OS being buggy and a hope for improvements in future releases, i.e. why are you still at 12.0)
https://beebom.com/fix-your-system-has-run-out-of-application-memory-error-mac/
(note the last point in that one)
https://setapp.com/how-to/fix-system-has-run-out-of-application-memory
https://www.macube.com/how-to/system-runs-out-of-application-memory-fix.html
Copy link to clipboard
Copied
Hi, are you saying that is the issue? It's at 12 because of compatibility issues w/ various plugins i use in Ableton & Protools, and because the versions of those programs are more stable running on 12. I will see if others are able to update without issues.
By not wanting/trusting to update the MACOS, do you mean an update from v12.0 to v12.6.4? Or an upgrade to Ventura?
Apple puts those updates out their for bug fixes as well as security improvements and performance improvements. Unfortunately not all fixes are clearly identified in the release notes.
On the other hand, if you are meaning you do not trust going to Ventura, then I agree, that one has had massive issues just with LrC. Mind you, I cannot, so no first hand experiance with that one.
Copy link to clipboard
Copied
-- Also I really didn't do any real editing on the photo, just a couple of "healing" moves to remove some glare.
The heal tool doesn't use the GPU for acceleration, but uses/abuses memory under the guise of GPU caching, which effectively deprives the appliction of memory on occasions. I suspect that's what you're seeing, and like Conrad I've seen it a few times on my Studio M1 Ultra with 64GB of memory. Thankfully, at least in my case, it's not been to the detriment of peformance.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now