Hidden processes taking up a lot of ram?

As you can see the sum here doesn't really add up.

  • App Memory: 16.88 GB
  • Wired Memory: 2.45 GB
  • Compressed: 123.8 MB
  • Total: 19.4538 GB


Memory Used: 23.61 GB

"Unaccounted for": 23.61 GB - 19.4538 GB = 4.156 GB

Which in my opinion is a lot.


I know that macOS manages RAM really well, and if it needs more memory, it will compress it and close other apps. But let’s say “App X” needs 4 GB of RAM. I would prefer that my system doesn’t close or compress anything and instead uses the available RAM left, without compromising the app’s status or performance, rather than compressing or closing apps because there are 4 GB used by some hidden process I can’t figure out.


MacBook Pro 16″, macOS 15.3

Posted on Mar 17, 2025 1:47 AM

Reply
23 replies

Mar 17, 2025 3:39 AM in response to patrick2000q

Just leave it be. Unused memory just sits there doing nothing, so macOS keeps cached files and does not immediately release some memory that may get to be reused soon. It all works very well.

If you want, you can switch Activity Monitor the the Memory tab, and see which applications are using more memory, but if you try to manually release memory you will make your mac perform worse, not better.


In the old days (before 10.9 Mavericks) there were occasions when forcing the system to release memory helped, but that has not been the case for over a decade now.

Mar 18, 2025 12:05 PM in response to patrick2000q

patrick2000q wrote:

As you can see the sum here doesn't really add up.

That's a common problem with Apple math. It never adds up.


But let’s say “App X” needs 4 GB of RAM.

What do you mean by that? Memory allocation is not a simple thing. It has a long and complicated history.


Apple's memory system is heavily based on virtual memory. As soon as virtual memory was introduced, apps started abusing it. So, in turn, operating systems started lying about it. It's a constant battle between apps trying to take all RAM and the operating system trying to preserve RAM for other tasks.


Unfortunately, RAM, like storage, has gotten to a really absurd level of complexity. So that means that the math doesn't add up anymore. And it isn't even "managed" anymore. Apps can ask for however much they want. But they only ever get what they use. And if they don't use it, they lose it, sometimes even if they do use it. Sometimes there are tricks like compressed memory and auto-quit. But ultimately, it's free hard drive space that becomes the decider. When free drive space is exhausted, so is memory.


But until it gets to that point, there's nothing you can do to improve upon it. Apps shouldn't go crazy. And you should quit them if they do. But as long as everything is reasonable and the system is performing well, there's nothing you can do to improve upon it.


Mar 18, 2025 2:06 PM in response to patrick2000q

patrick2000q wrote:

I’m not trying to improve anything. Apple would have to pay me to do that ahahah.

Sorry. I was still thinking of someone else using a "memory cleaner".


I’m just trying to understand where the 4 gb go. What process is using them. Because a few years ago with older operative systems this wasn’t the case. There was no hidden memory usage. The sum was always exactly the same as the manual sum you can do with a simple piece of paper :))

That's not so simple anymore. As I said before, Apple math simply isn't ever going to add up. It would be great if it did, but those days are over.


If you want to try to figure it out yourself, you're welcome to try. Just don't look at those pretty-picture totals that obviously don't add up. A good place to start is the Memory tab in activity monitor. But instead of looking at the bottom, look at the top. There will be a column for "Memory" (or maybe just "Mem..."). Control-click or right-click on that column. This will allow you to add additional columns.


Now do more math. How many additional "Memory" columns can you find? Enable them all. Try to make sense out of it. Let us know if you ever succeed.

Mar 17, 2025 8:51 AM in response to patrick2000q

The OS has very sophisticated memory management and it works really well. Trying to second guess what it does in the misguided belief that you can do better will not bring you any benefit. If you are experiencing a specific problem where your mac is not performing correctly and adequately, please explain. Otherwise you should just enjoy using your mac. As already mentioned, you won’t gain anything by forcing the OS to release memory. Let it manage it.

Mar 17, 2025 8:52 AM in response to patrick2000q

Activities related to Memory Usage and Control there of is opening this up to include Memory Cleaners


Memory Used is Dynamic and always changing


Suggest one ( you ) do not micro-manage this


Just let the Computer that was Builtin / Designed / Made by Apple use the Operating System Builtin / Designed / Made by Apple work hand in a glove - per se


As long as the " Memory Pressure " remains Green


No issues, at least on this M4 Desktop, M2 Desktop and M3 Laptop all with Sequoia 15.3.2

Mar 18, 2025 11:14 AM in response to Barney-15E

I don't know any. I never worked for apple. I have no internal contacts. I tried contacting the support but they don't even know what I'm talking about. They're just answering questions like. how can I reset my pc. how can I change the keyboard layout. stuff like that.

When I talk about kernel level memory management and hidden processes they have no idea how to answer.

So I'm just hoping that someone more expert and with internal knowledge (either current developer / manager / architect or former employee) can answer my question ;).

Mar 18, 2025 12:29 PM in response to etresoft

I’m not trying to improve anything. Apple would have to pay me to do that ahahah.

I’m just trying to understand where the 4 gb go. What process is using them. Because a few years ago with older operative systems this wasn’t the case. There was no hidden memory usage. The sum was always exactly the same as the manual sum you can do with a simple piece of paper :))

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.

Hidden processes taking up a lot of ram?

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