News: 1637108233

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Is your Apple Mac running macOS Monterey leaking memory? It may be due to mouse cursor customization

(2021/11/17)


Apple's macOS Monterey, the iGiant's latest desktop operating system release, turns out to have an insatiable appetite for memory if you use certain apps.

Shortly after the OS update was released on October 25, Apple customers – at least those who avoided [1]installation woes – began to notice that certain apps gobbled an excessive amount of memory, so much so the programs would crash or quit.

There were reports of this sort for [2]Adobe Creative Cloud apps , [3]Microsoft Office , [4]Cinema 4D , and [5]Pages , to name but a few.

[6]

Mozilla's Firefox was also affected – [7]79GB of memory is a lot, even for a browser [8]known for memory consumption . Following [9]an October 10 bug report, filed back just prior to macOS Monterey's release, Mozillans determined that Apple's latest operating system was afflicted by a memory leak that occurs when an app uses a customized cursor.

[10]

[11]

"On macOS 12 Monterey, using a non-standard cursor size or colors causes a large memory leak in Firefox," the bug report explains. "Firefox version 94 includes a fix that reduces the memory leak, but the problem can still occur. The problem has been reported to Apple and a fix is expected in a future update to macOS 12."

A memory leak happens when application code allocates memory and then fails to free that memory for reuse after it's no longer needed, leading to the app hoarding available memory. When memory keeps being claimed in this way and isn't released, the supply of memory is eventually exhausted and applications are killed off.

[12]Apple's macOS Monterey upgrades some people's laptops to doorstops

[13]Apple arms high-end MacBook Pro notebooks with M1 Pro, M1 Max processors

[14]Apple stalls CSAM auto-scan on devices after 'feedback' from everyone on Earth

[15]Start or Please Stop? Power users mourn features lost in Windows 11 'simplification'

In [16]a blog post on Monday, software developer and Electric Light Company founder Howard Oakley [17]proposed that the leak arises from a group of settings in the Accessibility preference pane, which provides interface modification controls.

"The leak appears to occur when the pointer type changes, for example from a standard arrow to an I-beam for the insertion of text," Oakley wrote. "What is most likely is that, when the pointer has been customised using the settings in that pane, the memory used by the previous pointer isn’t freed following a change in pointer type."

[18]

[19]Via Twitter , developer Steve Troughton-Smith speculated that the issue may follow from Apple replacing old Objective-C code – where memory is managed manually – with Swift code, which mostly [20]handles memory management automatically.

There are almost certainly other [21]other memory leaks in macOS Monterey , as they have been prior operating system releases and [22]in apps . Software is full of bugs. But the large number of applications affected means Apple should deploy a fix sooner rather than later.

The Register asked Apple for an explanation, and the biz giant hasn't responded. ®

Get our [23]Tech Resources



[1] https://www.theregister.com/2021/11/01/macos_monterey_update/

[2] https://twitter.com/kris_jolls/status/1460342191344082944?s=20

[3] https://twitter.com/pvgomez/status/1455847533159268356?s=20

[4] https://twitter.com/Ry0shiNFt/status/1455563623112355850?s=20

[5] https://discussions.apple.com/thread/253316109

[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YZSMeMQql4kFY50RJovQKwAAAMI&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[7] https://twitter.com/y80481629/status/1453305283317354496?s=20

[8] https://ssiddique.info/fix-firefox-memory-leaks.html

[9] https://bugzilla.mozilla.org/show_bug.cgi?id=1735345

[10] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YZSMeMQql4kFY50RJovQKwAAAMI&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[11] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YZSMeMQql4kFY50RJovQKwAAAMI&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[12] https://www.theregister.com/2021/11/01/macos_monterey_update/

[13] https://www.theregister.com/2021/10/18/apple_macbook_pro/

[14] https://www.theregister.com/2021/09/03/apple_scanning_pause/

[15] https://www.theregister.com/2021/08/26/windows_11_user_feedback/

[16] https://eclecticlight.co/2021/11/15/montereys-memory-leak-and-how-to-avoid-it/

[17] https://eclecticlight.co/2021/11/15/montereys-memory-leak-and-how-to-avoid-it/

[18] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/oses&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YZSMeMQql4kFY50RJovQKwAAAMI&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[19] https://twitter.com/stroughtonsmith/status/1460437966837497861?s=20

[20] https://medium.com/elements/memory-management-in-swift-31e20f942bbc

[21] https://9to5mac.com/2021/11/15/monterey-app-memory-leak-solution-suggestion/#more-769106

[22] https://gitlab.com/gnachman/iterm2/-/issues/9221

[23] https://whitepapers.theregister.com/



Because QA is for customers?

Anonymous Coward

This is what happens when you spend a decade cutting coverage of test cases in your QA processes. Though clearly whatever team is handling the cursor input and touch pad on the new OS has been sipping the electric koolaid for a while now. Hopefully after they patch this memory leak they can roll back the touch pad defaults so that drag and drop file operations aren't akin to the three stooges juggling bars of wet soap.

God forbid one of my users on the new M1's has to drop a bad email attachment in the trash.

You will receive a legacy which will place you above want.