Live data from Hacker News

Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

twitter.com

11–20 of 342 posts

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#11

Earlier quoted context omitted.

Seems to just be a memory leak in a framework the editor is using, that seems to only affect M1. Which is mildly interesting but a bit of an anticlimax...

The framework is part of Apple’s UI stack and indicates a window system/graphics driver bug somewhere in macOS. So it’s probably more than just “an application has a bug”, but still not very interesting until we learn more.

My point was nowhere nearly as interesting as if a specially crafted gif somehow triggered a memory leak in a driver when rendered.

The title doesn't make it clear individually opening 730 frames in an the editor is the userspace action exposing an underlying system bug

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#12

Could this be related to the earlier reports of excessive SSD wear on M1 Macs?

Just purchased my first Mac after using Linux for most of my adult life. How big of a concern is this? I am seeing mixed reports when looking around - should I be questioning my purchase if I was expecting my M1 Air to last a few years?

From what I could understand, it's related to how much of your workflow runs over the RAM capacity, at which point the memory gets shuffled off to the SSD, and loaded back when it's needed.

I got the 8GB RAM version, and been mainly using it for Unity + JetBrains Rider, both demanding around 4-6GB by themselves. Doesn't help neither of them are ARM native, I'd imagine. So I'm in big trouble :)

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#13

Could this be related to the earlier reports of excessive SSD wear on M1 Macs?

Just purchased my first Mac after using Linux for most of my adult life. How big of a concern is this? I am seeing mixed reports when looking around - should I be questioning my purchase if I was expecting my M1 Air to last a few years?

only anecdotal at this time, and it’s been awhile now. Specifically, a video editor posted a blog about how their laptop failed which required an out of pocket board replacement. Someone speculated in comments here that the drive may have reached lifecycle but it wasn’t confirmed or examined by an expert in a write up or anything. Not sure specifically what hardware but no reason to believe it would be a proprietary drive any different than other laptops’. IMO skeptical of PEBKAC or clickbait. Nothing in the post was informative or illuminating. > last a few years It will and to be insured instead of just confident one can opt for that $200 warranty extension

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#14

Earlier quoted context omitted.

Seems to just be a memory leak in a framework the editor is using, that seems to only affect M1. Which is mildly interesting but a bit of an anticlimax...

The framework is part of Apple’s UI stack and indicates a window system/graphics driver bug somewhere in macOS. So it’s probably more than just “an application has a bug”, but still not very interesting until we learn more.

How is this not just another bug? Is exactly that, just another bug

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#15

Could this be related to the earlier reports of excessive SSD wear on M1 Macs?

Just purchased my first Mac after using Linux for most of my adult life. How big of a concern is this? I am seeing mixed reports when looking around - should I be questioning my purchase if I was expecting my M1 Air to last a few years?

As you said, mixed reports (https://news.ycombinator.com/item?id=26244093) and not much followup since then. The most common worst-case numbers from that thread, if sustained, would indicate a 4-5 year maximum lifetime.

If this actually turns out to be a widespread problem and Apple doesn't address it in a timely update you may see a class-action lawsuit and/or Apple warranty repair service in a few years.

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#17
post #12

Earlier quoted context omitted.

Just purchased my first Mac after using Linux for most of my adult life. How big of a concern is this? I am seeing mixed reports when looking around - should I be questioning my purchase if I was expecting my M1 Air to last a few years?

From what I could understand, it's related to how much of your workflow runs over the RAM capacity, at which point the memory gets shuffled off to the SSD, and loaded back when it's needed. I got the 8GB RAM version, and been mainly using it for Unity + JetBrains Rider, both demanding around 4-6GB by themselves. Doesn't help neither of them are ARM native, I'd imagine. So I'm in big trouble :)

A suggestion until ARM native Rider is available. We have a few 8GB M1s that are used for .net development using Rider and we're using the DataGrip swap hack proposed here and it's working great (was unusable without it):

https://youtrack.jetbrains.com/issue/RIDER-54092

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#18

Earlier quoted context omitted.

The framework is part of Apple’s UI stack and indicates a window system/graphics driver bug somewhere in macOS. So it’s probably more than just “an application has a bug”, but still not very interesting until we learn more.

How is this not just another bug? Is exactly that, just another bug

Yes, probably a system bug, not an application bug.

As the short post you replied to made perfectly clear.

Re: Animated GIF uses over 35GB RAM in Acorn on M1 Mac, likely due to memory leak

#19

Earlier quoted context omitted.

The framework is part of Apple’s UI stack and indicates a window system/graphics driver bug somewhere in macOS. So it’s probably more than just “an application has a bug”, but still not very interesting until we learn more.

How is this not just another bug? Is exactly that, just another bug

Clickbait titles and roundabout Twitter threads elevate it to HN darling status apparently.
Post reply on HN