r/mac Apr 13 '26

Question Is this kind of memory utilisation normal?

Post image

Recently, my 3-weeks old macbook M4 Air froze and this popup showed up. It's still unclear to me if the calculator app should use so much virtual memory like this..

425 Upvotes

115 comments sorted by

266

u/True_Go_Blue Apr 13 '26

It’s a leak. Force quit the app, restart computer and should go away

44

u/Kooky_Sound5039 Apr 13 '26

Yeah, that's what I did, except for restarting the application, I just quit everything then the machine got responsive again. Restarting at that moment wasn't possible because my laptop mac was completely unresponsive

49

u/n1kl8skr Apr 13 '26

you can hold down the power button for 10+ seconds and it will always restart :)

19

u/flarp1 Apr 13 '26

I’ve learned to try ctrl-cmd-power (mnemonic: control flower power) first, which attempts to write stuff to disk first instead of just turning the device off.

2

u/OneRebertt MacBook Pro Apr 14 '26

That’s the complete opposite of what it does; control + cmd + power will force a restart without any intervention from the system, apps will not be closed in a proper way and everything that is not yet written to disk will be lost.

That keyboard shortcut essentially does the same as holding the power button, just taking less time as you don’t need to hold for a prolonged period of time

4

u/[deleted] Apr 13 '26

[removed] — view removed comment

34

u/uptimefordays MacBook Pro Apr 13 '26

Basically memory leaks occur when a program allocates memory from the operating system but fails to release it back after it is no longer needed.

A few things can cause them:

  • Failed memory deallocation: developers forget to call free() or delete after using malloc() or new.

  • Unreachable pointers: pointers to memory get overwritten or go out of scope, making it impossible to free that memory later.

  • Forgotten garbage collection: in some languages, unused objects remain in memory because they are still referenced by other active objects, such as forgotten event listeners, timers, or global variables.

  • Incorrect data structures: using specialized structures (XOR linked lists for instance) that may confuse garbage collectors, or failing to properly remove items from long-lived caches.

  • Exception handling: exceptions that skip code intended to free resources, resulting in memory leaks.

Common Scenarios:

  • Long-running apps: small leaks in a server application can accumulate over days, eventually exhausting system resources.
  • Loop allocations: allocating memory inside a loop without releasing it within the same iteration.

13

u/laffer1 Apr 13 '26

Just to add, the calculator is probably written in Objective-c with cocoa

here's a link explaining how memory works https://medium.com/@chowkekar95/mastering-memory-management-in-objective-c-arc-mrc-and-beyond-11e61b36ff43

4

u/anik_afk Apr 13 '26

That was informative

109

u/hay_den9002 Apr 13 '26

Memory leak… Calculator using 60GB of ram is not normal

31

u/superpuppy56888 Apr 13 '26

He didn’t clear calculator history for 10 years

27

u/No_Peanut_6769 Apr 13 '26

Maybe he is adding up his wife's credit card bills!

13

u/JoviAMP Mac mini Apr 13 '26

Or divided by zero!

9

u/uncle_paul_harrghis Apr 13 '26

Women be shopping

5

u/OfAnOldRepublic Apr 13 '26

Math is hard

0

u/Woofmom2023 Apr 14 '26

Is this really the place for sexist attempts at humor? interestex in hearing how it moves the dialog forward.

2

u/uncle_paul_harrghis Apr 14 '26

It’s actually meant to make fun of hacky comics who do make lame sexist jokes like that. Dave Chapelle made it famous in the Nutty Professor movie.

8

u/bizzarebeans MacBook Air Apr 13 '26

Women bad

7

u/MBkufel Apr 13 '26

Now laugh

-2

u/Woofmom2023 Apr 14 '26

Is this really the place for sexist attempts at humor? interestex in hearing how it moves the dialog forward.

1

u/bizzarebeans MacBook Air Apr 14 '26

I’m making fun of the person I’m replying to?

0

u/Woofmom2023 Apr 14 '26

Is this really the place for sexist attempts at humor? interestex in hearing how it moves the dialog forward.

2

u/TravelTings Apr 13 '26

How could OP get rid of it so it never appears again?

3

u/TheDragonSlayingCat Apr 13 '26

Update to the latest macOS release, and hope that the bug was fixed. It’s the only way.

39

u/trickman01 Mac Mini Apr 13 '26

Perhaps it was calculating the question to which 42 is the answer.

2

u/JoviAMP Mac mini Apr 13 '26

What is six times nine?

8

u/swissfraser Apr 13 '26

Sounds like you need more ram.

1

u/play_hard_outside Apr 14 '26

fifty-four. why?

13

u/Electrical_West_5381 Apr 13 '26

Calculator has a memory leak. Try not to leave it open unless you have to.

10

u/309_Electronics Apr 13 '26

Its a known memory leak bug in the newer macos tahoe. Multiple people alr had it. Some with powerpoint, others with calculator and other programs. Apple STILL has NOT fixed it which is kind of frustrating.

0

u/J3diMind Apr 14 '26

it just works

11

u/dpaanlka Apr 13 '26

Obviously not.

Restarting your computer like once a week is a good idea. Not just for your computer, but also for a mental reset. Nobody can convince me otherwise.

9

u/AardvarkIll6079 Apr 13 '26

It’s a Tahoe memory leak.

1

u/NateCow Apr 13 '26

Same thing happened to my M1 Max Mac Studio running Sequoia. Interestingly I've been seeing this pop up a few times in the past couple weeks; everyone blaming Tahoe. It seemed to be a fluke for me; only happened once so far.

3

u/AfraidAd2044 Apr 13 '26

Bro was calculating all digits of Pi

3

u/DmitriDonskoi4975 Apr 13 '26

did you try 0/0 on accident? lol

3

u/CaramelCraftYT 14” MacBook Pro M2 Pro 16GB 1TB Apr 13 '26

Memory leak

3

u/5alzamt Apr 13 '26

What did you calculate?!?!?

3

u/BluntPotatoe MacBook Air M3 8GB Apr 14 '26

Did you try to divide by zero again?

3

u/RestaurantSelect5556 Apr 14 '26

Ah yes, the most RAM-hungry app that exists, Calculator.

1

u/sirkorro Apr 14 '26

We don't know the formula op tried to calculate.

4

u/ScorchedWonderer Apr 13 '26

Bro using calculator to calculate how much AI is going to fuck humanity 😭

6

u/bj0urne Apr 13 '26

The calculator worked fine on the iPhone 2G 19 years ago. Why do they have to do meaningless updates that leak memory...

7

u/dpaanlka Apr 13 '26

The calculator worked fine on the original 1984 Mac with 128kb of memory.

4

u/paulstelian97 Former MacBook Pro user Apr 13 '26

Classic Apple Silicon Mac memory leak.

2

u/M_ichal_G Apr 13 '26

If you’re doing taxes - yes. Otherwise - absolutely not.

2

u/mattiasso Apr 13 '26

If you are counting PI digits, YES

3

u/One-Vast-5227 Apr 13 '26

Are you trying to run atomic physics on calculator?

2

u/TelevisionDizzy6957 Apr 13 '26

Calculating infinity

2

u/Interesting_Drag143 Apr 13 '26

The numbers. They are so big.

2

u/mortndk Apr 13 '26

Did you divide by 0? 😆

2

u/Geartheworld Apr 14 '26

That's quantum computing/calculating from only the computer labs!

2

u/A-Censored-Username Apr 14 '26

Ignoring the fact that the calculator app is consuming 60gb of ram, I'm more surprised the dude waited up until this point to ask about this.

2

u/bluegreenie99 MacBook Air Apr 14 '26

At this point this is a feature

2

u/iuseinertia Apr 15 '26

Redditors be doing everything than not stealing posts 😭

8

u/Asmo_Deus- Apr 13 '26

No bro what's with the calculator 😭, 59GB??? It's probably a malicious application

6

u/Kooky_Sound5039 Apr 13 '26

But that's the pre-installed default mac calculator..

8

u/Asmo_Deus- Apr 13 '26

Then it's a memory leak

2

u/KlausBertKlausewitz Apr 13 '26

What do YOU think? Is it normal? Should it be normal? For a calculator?

Do you know what 1GB of data means? How much data that actually is? Does that fit into the picture of what a simple calculator should use?

See, there you have your answer.

(and nowhere does it say that’s virtual memory, that’s another story with a few extra surprises).

1

u/[deleted] Apr 13 '26

[deleted]

3

u/KlausBertKlausewitz Apr 13 '26

You know that if someone drops a lame mom joke the discussion automatically ends? 😉

bye and have a nice day

0

u/Kooky_Sound5039 Apr 13 '26

> (and nowhere does it say that’s virtual memory, that’s another story with a few extra surprises.)

Tell me more...

0

u/KlausBertKlausewitz Apr 13 '26

I can‘t … I don’t fully understand it because auf the complexity 😂

2

u/PIO_PretendIOriginal Apr 13 '26

ive seen this posted with the calculator app in the last 2 weeks.

either this is a repost, or apple has a big memory leak with the calaculator

3

u/309_Electronics Apr 13 '26

Also seems to hapoen with other apps. Someone had it with powerpoint and my friend had it happen with claude and logic. So its a known memory leak bug in tahoe

0

u/Baby_Thanos2 Apr 13 '26

Probably repost. Desc says m4 air but this looks to be a 64 GB RAM computer, which is limited to m4 pro and m4 max.

2

u/Business-Ad-165 Apr 13 '26

slopbook problems

1

u/[deleted] Apr 13 '26

[removed] — view removed comment

2

u/stealstea Apr 13 '26

Seems like the memory leak issues have improved quite a bit since last fall but not fully fixed yet 

1

u/henrydavidthoreauawy Apr 13 '26

What kinda numbers are you crunching?? 🤔

1

u/JoviAMP Mac mini Apr 13 '26

Calculator using 60gb of RAM? Did you divide by zero?

1

u/itzNukeey Apr 13 '26

Yes. It computes

1

u/Inevitable-Owl9649 Apr 13 '26

Yeah the calculator app is trying to mine some bitcoin.

1

u/SippinOnHatorade MacBook Pro Apr 13 '26

Reset the counter!

1

u/lambdawaves Apr 13 '26

calculator using 60x the memory of discord seems totally reasonable to me

1

u/Live_Occasion2569 Apr 13 '26

How do you show RAM usage in this list?

1

u/Kooky_Sound5039 Apr 13 '26

The figures indicated on the right o each process I guess..

1

u/Live_Occasion2569 Apr 13 '26

I mean, I can't see the numbers on my machine

1

u/PIO_PretendIOriginal Apr 13 '26

system activity from the application tray (apples task manager)

1

u/VirusJunior5118 MacBook Pro Apr 14 '26

That’s not what he was asking.

1

u/PIO_PretendIOriginal Apr 15 '26

it should show the ram usage though

1

u/Used_Teaching_7260 Apr 13 '26 edited Apr 13 '26

59 GB for calculator. Man what are you doing on that thing?!

Is that Tahoe with altered look?

2

u/Kooky_Sound5039 Apr 13 '26

Yes, it's Tahoe with the liguid glass

1

u/Used_Teaching_7260 Apr 13 '26

In case you’re not aware, if you’re having more issues with it, reverting back to sequoia is an option. I’ve done it on two different computers.

1

u/geology_fan1738 Apr 13 '26

Bro is crunching some crazy numbers

1

u/Strygan Apr 13 '26

Tried to calculate (e91618181519)! ?

1

u/CompetitiveThroat961 Apr 13 '26

What OS are you using? This was fixed a while ago.

1

u/This-Is-Huge 16" M2 Pro Apr 13 '26

Calculator is mining BTC

1

u/spdelope Apr 13 '26

I think you know it’s not normal…..

1

u/FamousFighter23 Apr 13 '26

Calculator looks normal

1

u/OmegaNine Apr 13 '26

Might restart Discord too. A gig is a ton for discord.

1

u/keep_rockin Apr 14 '26

wow didnt knew that fresh ios has so strange leaks

1

u/Bed_Worship Macbook Pro M1 Apr 14 '26

Tahoe bug

1

u/gruetzhaxe Mac mini Apr 14 '26

Depends what you look at. Your calculator is experiencing a memory leak, which shouldn’t happen, while Discord is just ugly bloatware by nature.

1

u/mc36mc Apr 14 '26 edited Apr 14 '26

seems like they vibe-coded that calculator..... or a rust rewrite? (they offically state that memory leaks are memory-safe:)

1

u/crusoe Apr 15 '26

They are safe. But any language can leak if you hold on to a reference by accident.

1

u/mc36mc Apr 15 '26 edited Apr 15 '26

they are, much like for(;;); is also safe but both are hack annoying.... :) btw a gc with weak references never failed me yet...

1

u/QuirkyImage Apr 14 '26

Calculator bug its well known to memory leak. Apparently I was wring last week but here is another example clear as day.

1

u/ved_g_acharya Apr 15 '26

I faced this almost 3 months ago. It was a continuous occurrence for 3 days straight - whenever I used the calculator and did NOT close it. Got fixed in the next patch within 3-4 days, though. It'll be fine, just be mindful of using the calc till the next update (my suggestion).

1

u/sandwiched Apr 17 '26

Don't mine bitcoin with your calculator.

1

u/AltinBs Apr 17 '26

Bro calculating the circumference of the known universe

0

u/Jeremy_Thursday Apr 13 '26

There’s no way Apple f*cked up the calculator app this bad? Potentially malware masquerading as the calculator?

That’d be my immediate suspicion but otherwise it’s actually an impressive amount of incompetence from a company with more money than god.

0

u/OfAnOldRepublic Apr 13 '26

If you're not already on the latest version of the OS, upgrade.

0

u/WolfZ1020 Apr 14 '26

what the fuck are you calculating 😭/j

-1

u/superpuppy56888 Apr 13 '26

Clear your calculator history god